home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ncurses.idb / usr / freeware / share / terminfo.src.z / terminfo.src
Encoding:
Text File  |  1999-07-16  |  646.2 KB  |  15,002 lines

  1. ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
  2. #
  3. #    Version 10.2.0
  4. #    terminfo syntax
  5. #
  6. #    Eric S. Raymond        (current maintainer)
  7. #    John Kunze, Berkeley
  8. #    Craig Leres, Berkeley
  9. #
  10. # Please e-mail changes to terminfo@ccil.org.  The old termcap@berkeley.edu
  11. # address is no longer valid.
  12. #
  13. # PURPOSE OF THIS FILE:
  14. #
  15. # This file describes the capabilities of various character-cell terminals,
  16. # as needed by software such as screen-oriented editors.
  17. #
  18. # Other terminfo and termcap files exist, supported by various OS vendors
  19. # or as relics of various older versions of UNIX.  This one is the longest
  20. # and most comprehensive one in existence.  It subsumes not only the entirety
  21. # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
  22. # termcap file, but also large numbers of vendor-maintained termcap and
  23. # terminfo entries more complete and carefully tested than those in historical
  24. # termcap/terminfo versions.
  25. #
  26. # Pointers to related resources (including the ncurses distribution) may
  27. # be found at <http://earthspace.net/terminfo>.
  28. #
  29. # INTERNATIONALIZATION:
  30. #
  31. # This file uses only the US-ASCII character set (no ISO8859 characters).
  32. #
  33. # This file assumes a US-ASCII character set. If you need to fix this, start
  34. # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
  35. # for your character set.  \E(A and \E)A enables the British character set
  36. # with the pound sign at position 2/3.  
  37. #
  38. # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
  39. # C1 characters are considered the first-byte set of the Japanese encodings,
  40. # so \E)0 should be avoided in <enacs> and initialization strings.
  41. #
  42. # FILE FORMAT:
  43. #
  44. # The version you are looking at may be in any of three formats: master
  45. # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
  46. # which by the format given in the header above.
  47. #
  48. # The master format is accepted and generated by the terminfo tools in the
  49. # ncurses suite; it differs from stock (System V-compatible) terminfo only
  50. # in that it admits a group of capabilities (prefixed `OT') equivalent to
  51. # various obsolete termcap capabilities.  You can, thus, convert from master
  52. # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
  53. # you have ncurses `tic -I' is nicer (among other things, it automatically
  54. # outputs entries in a canonical form).
  55. #
  56. # The termcap version is generated automatically from the master version
  57. # using tic -C.  This filtering leaves in the OT capabilities under their
  58. # original termcap names.  All translated entries fit within the 1023-byte
  59. # string-table limit of archaic termcap libraries except where explicitly
  60. # noted below.  Note that the termcap translation assumes that your termcap
  61. # library can handle multiple tc capabilities in an entry. 4.4BSD has this
  62. # capability.  Older versions of GNU termcap, through 1.3, do not. 
  63. #
  64. # For details on these formats, see terminfo(5) in the ncurses distribution,
  65. # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
  66. # curses has been declared obsolete by the caretakers of the 4.4BSD sources
  67. # as of June 1995; they are encouraging everyone to migrate to ncurses.
  68. #
  69. # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
  70. # no entry in this file has embedded comments.  This is so source translation
  71. # to termcap only has to carry over leading comments.  Also, no name field
  72. # contains embedded whitespace (such whitespace confuses rdist).
  73. #
  74. # Further note: older versions of this file were often installed with an editor
  75. # script (reorder) that moved the most common terminal types to the front of
  76. # the file.  This should no longer be necessary, as the file is now ordered
  77. # roughly by type frequency with ANSI/VT100 and other common types up front.
  78. #
  79. # Some information has been merged in from terminfo files distributed by
  80. # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
  81. # comes from vendors who maintain official terminfos for their hardware
  82. # (notably DEC and Wyse).
  83. #
  84. # A detailed change history is included at the end of this file.
  85. #
  86. # FILE ORGANIZATION:
  87. #
  88. # Comments in this file begin with # - they cannot appear in the middle
  89. # of a terminfo/termcap entry.  Individual capabilities are commented out by
  90. # placing a period between the colon and the capability name.
  91. #
  92. # The file is divided up into major sections (headed by lines beginning with 
  93. # the string "########") and minor sections (beginning with "####"); do
  94. #
  95. #    grep "^####" <file> | more
  96. #
  97. # to see a listing of section headings.  The intent of the divisions is
  98. # (a) to make it easier to find things, and (b) to order the database so
  99. # that important and frequently-encountered terminal types are near the
  100. # front (so that you'll get reasonable search efficiency even if you don't
  101. # use reorder).  Minor sections usually correspond to manufacturers or
  102. # standard terminal classes.  Parenthesized words following manufacturer
  103. # names are type prefixes or product line names used by that manufacturers.
  104. #
  105. # HOW TO READ THE ENTRIES:
  106. #
  107. # The first name in an entry is the canonical name for the model or
  108. # type, last entry is a verbose description.  Others are mnemonic synonyms for
  109. # the terminal.
  110. #
  111. # Terminal names look like <manufacturer> <model> - <modes/options>
  112. # The part to the left of the dash, if a dash is present, describes the
  113. # particular hardware of the terminal.  The part to the right may be used
  114. # for flags indicating special ROMs, extra memory, particular terminal modes,
  115. # or user preferences.
  116. #
  117. # All names should be in lower case, for consistency in typing.
  118. #
  119. # The following are conventionally used suffixes:
  120. #    -2p    Has two pages of memory.  Likewise 4p, 8p, etc.
  121. #    -am    Enable auto-margin.
  122. #    -m    Monochrome.  Suppress color support
  123. #    -mc    Magic-cookie.  Some terminals (notably older Wyses) can
  124. #        only support one attribute without magic-cookie lossage.
  125. #        Their base entry is usually paired with another that
  126. #        uses magic cookies to support multiple attributes.
  127. #    -na    No arrow keys - termcap ignores arrow keys which are
  128. #        actually there on the terminal, so the user can use
  129. #        the arrow keys locally.
  130. #    -nam    No auto-margin - suppress <am> capability
  131. #    -nl    No labels - suppress soft labels
  132. #    -ns    No status line - suppress status line
  133. #    -rv    Terminal in reverse video mode (black on white)
  134. #    -s    Enable status line.
  135. #    -vb    Use visible bell (<flash>) rather than <bel>.
  136. #    -w    Wide - in 132 column mode.
  137. # If a name has multiple suffixes and one is a line height, that one should 
  138. # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv'.  
  139. # Entries with embedded plus signs are designed to be included through use/tc
  140. # capabilities, not used as standalone entries. 
  141. #
  142. # To avoid search clashes, some older all-numeric names for terminals have
  143. # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
  144. # All primary names of terminals now have alphanumeric prefixes.
  145. #
  146. # Comments marked "esr" are mostly results of applying the termcap-compiler
  147. # code packaged with ncurses and contemplating the resulting error messages. 
  148. # In many cases, these indicated obvious fixes to syntax garbled by the
  149. # composers.  In a few cases, I was able to deduce corrected forms for garbled
  150. # capabilities by looking at context.  All the information in the original
  151. # entries is preserved in the comments.
  152. #
  153. # In the comments, terminfo capability names are bracketed with <> (angle
  154. # brackets).  Termcap capability names are bracketed with :: (colons).
  155. #
  156. # INTERPRETATION OF USER CAPABILITIES
  157. #
  158. # The System V Release 4 and XPG4 terminfo format defines ten string
  159. # capabilities for use by applications, <u0>...<u9>.   In this file, we use
  160. # certain of these capabilities to describe functions which are not covered
  161. # by terminfo.  The mapping is as follows:
  162. #
  163. #    u9    terminal enquire string (equiv. to ANSI/ECMA-48 DA)
  164. #    u8    terminal answerback description
  165. #    u7    cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
  166. #    u6    cursor position report (equiv. to ANSI/ECMA-48 CPR)
  167. #
  168. # The terminal enquire string <u9> should elicit an answerback response
  169. # from the terminal.  Common values for <u9> will be ^E (on older ASCII
  170. # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
  171. #
  172. # The cursor position request (<u7>) string should elicit a cursor position
  173. # report.  A typical value (for VT100 terminals) is \E[6n.
  174. #
  175. # The terminal answerback description (u8) must consist of an expected
  176. # answerback string.  The string may contain the following scanf(3)-like
  177. # escapes:
  178. #
  179. #    %c    Accept any character
  180. #    %[...]    Accept any number of characters in the given set
  181. #
  182. # The cursor position report (<u6>) string must contain two scanf(3)-style 
  183. # %d format elements.  The first of these must correspond to the Y coordinate
  184. # and the second to the %d.  If the string contains the sequence %i, it is
  185. # taken as an instruction to decrement each value after reading it (this is
  186. # the inverse sense from the cup string).  The typical CPR value is
  187. # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
  188. #
  189. # These capabilities are used by tac(1m), the terminfo action checker soon
  190. # to be distributed with ncurses.
  191. #
  192. # TABSET FILES
  193. #
  194. # All the entries in this file have been edited to assume that the tabset
  195. # files directory is /usr/share/tabset, in conformance with the File Hierarchy
  196. # Standard for Linux and free BSD systems.  Some vendors (notably Sun) use
  197. # /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
  198. #
  199. # No curses package we know of uses these files.  If their location is an
  200. # issue, you will have to hand-patch the file locations before compiling
  201. # this file.
  202. # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL:
  203. #
  204. # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
  205. # character-cell terminals are increasingly replaced by X displays, much of
  206. # this file is becoming a historical document (this is part of the reason for
  207. # the new organization, which puts ANSI types, xterm, free-Unix consoles,
  208. # and vt100 up front in confidence that this will catch 95% of new hardware).
  209. #
  210. # For the terminal types still alive, I'd like to have manufacturer's
  211. # contact data (Internet address and/or snail-mail + phone).
  212. #
  213. # I'm also interested in enriching the comments so that the latter portions of
  214. # the file do in fact become a potted history of VDT technology as seen by
  215. # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
  216. # include its live/dead/out-of-the-business status, and for as many
  217. # terminal types as possible to be tagged with information like years
  218. # of heaviest use, popularity, and interesting features.
  219. #
  220. # I'm especially interested in identifying the obscure entries listed under
  221. # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
  222. # wisdom about them gets lost.  If you know a lot about obscure old terminals,
  223. # please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
  224. # eyeball it for things you can identify and describe. 
  225. #
  226. # If you have been around long enough to contribute, please read the file
  227. # with this in mind and send me your annotations.
  228. #
  229. # COPYRIGHTS AND OTHER DELUSIONS
  230. #
  231. # The BSD ancestor of this file had a standard Regents of the University of
  232. # California copyright with dates from 1980 to 1993.
  233. #
  234. # Some information has been merged in from a terminfo file SCO distributes.
  235. # It has an obnoxious boilerplate copyright which I'm ignoring because they 
  236. # took so much of the content from the ancestral BSD versions of this file
  237. # and didn't attribute it, thereby violating the BSD Regents' copyright.
  238. #
  239. # Not that anyone should care.  However many valid functions copyrights may
  240. # serve, putting one on a termcap/terminfo file with hundreds of anonymous
  241. # contributors makes about as much sense as copyrighting a wall-full of
  242. # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
  243. #
  244. # This file deliberately has no copyright.  It belongs to no one and everyone.
  245. # If you claim you own it, you will merely succeed in looking like a fool. 
  246. # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
  247. # There are no guarantees anywhere.  Svaha!
  248. #
  249.  
  250. ######## STANDARD AND SPECIAL TYPES
  251. #
  252. # This section describes terminal classes and maker brands that are still
  253. # quite common.
  254. #
  255.  
  256. #### Specials
  257. #
  258. # Special "terminals".  These are used to label tty lines when you don't
  259. # know what kind of terminal is on it.  The characteristics of an unknown
  260. # terminal are the lowest common denominator - they look about like a ti 700.
  261. #
  262.  
  263. dumb|80-column dumb tty, 
  264.     am, 
  265.     cols#80, 
  266.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  267. unknown|unknown terminal type, 
  268.     gn, use=dumb, 
  269. lpr|printer|line printer, 
  270.     hc, os, 
  271.     cols#132, lines#66, 
  272.     bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
  273. glasstty|classic glass tty interpreting ASCII control characters, 
  274.     am, 
  275.     cols#80, 
  276.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, 
  277.     kcub1=^H, kcud1=^J, nel=^M^J, 
  278.  
  279. #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
  280. #
  281. # See the end-of-file comment for more on these.
  282. #
  283.  
  284. # The IBM PC alternate character set.  Plug this into any Intel console entry.
  285. # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
  286. # ROM graphics for control characters such as the diamond, up- and down-arrow.
  287. # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
  288. # will work with any Intel console, they all seem to have inherited \E[11m
  289. # from the ANSI.SYS de-facto standard.
  290. klone+acs|alternate character set for ansi.sys displays, 
  291.     acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
  292.     rmacs=\E[10m, smacs=\E[11m, 
  293.  
  294. # Highlight controls corresponding to the ANSI.SYS standard.  Most 
  295. # console drivers for Intel boxes obey these.  Makes the same assumption
  296. # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
  297. # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
  298. klone+sgr|attribute control for ansi.sys displays, 
  299.     blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
  300.     rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
  301.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
  302.     sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
  303.     use=klone+acs, 
  304.  
  305. # Highlight controls corresponding to the ANSI.SYS standard.  *All*
  306. # console drivers for Intel boxes obey these.  Does not assume \E[11m will
  307. # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
  308. # diamond and arrow characters under curses.
  309. klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
  310.     blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, 
  311.     rmul=\E[m, 
  312.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
  313.     sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
  314.     use=klone+acs, 
  315.  
  316. # KOI8-R (RFC1489) acs (alternate character set)
  317. # From: QingLong <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
  318. klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
  319.     acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225, 
  320.     rmacs=\E[10m, smacs=\E[11m, 
  321.  
  322. # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
  323. # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
  324. # but equivalent strings that don't rely on that coincidence:
  325. # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
  326. # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
  327. # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
  328. # They match a subset of ECMA-48.
  329. klone+color|color control for ansi.sys and ISO6429-compatible displays, 
  330.     colors#8, ncv#3, pairs#64, 
  331.     op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  332.  
  333. # This is better than klone+color, it doesn't assume white-on-black as the
  334. # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
  335. ecma+color|color control for ECMA-48-compatible terminals, 
  336.     colors#8, ncv#3, pairs#64, 
  337.     op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  338.  
  339. # Attribute control for ECMA-48-compatible terminals
  340. ecma+sgr|attribute capabilities for true ECMA-48 terminals, 
  341.     rmso=\E[27m, rmul=\E[24m, 
  342.     use=klone+sgr, 
  343.  
  344. # For comparison, here are all the capabilities implied by the Intel
  345. # Binary Compatibility Standard (level 2) that fit within terminfo.
  346. # For more detail on this rather pathetic standard, see the comments
  347. # near the end of this file.
  348. ibcs2|Intel Binary Compatibility Standard prescriptions, 
  349.     cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
  350.     cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  351.     dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX, 
  352.     hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
  353.     indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
  354.     smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
  355.  
  356. #### ANSI/ECMA-48 terminals and terminal emulators
  357. #
  358. # See near the end of this file for details on ANSI conformance.
  359. # Don't mess with these entries!  Lots of other entries depend on them!
  360. #
  361. # This section lists entries in a least-capable to most-capable order.
  362. # if you're in doubt about what `ANSI' matches yours, try them in that
  363. # order and back off from the first that breaks.
  364.  
  365. ansi-mini|any ansi terminal with pessimistic assumptions, 
  366.     am, 
  367.     cols#80, it#8, lines#24, 
  368.     clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  369.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  370.     ht=^I, 
  371.  
  372. # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
  373. #
  374. # The following is an entry for the full ANSI 3.64 (1977).  It lacks
  375. # padding, but most terminals using the standard are "fast" enough
  376. # not to require any -- even at 9600 bps.  If you encounter problems,
  377. # try including the padding specifications.
  378. #
  379. # Note: the "as" and "ae" specifications are not implemented here, for
  380. # the available termcap documentation does not make clear WHICH alternate
  381. # character set to specify.  ANSI 3.64 seems to make allowances for several.
  382. # Please make the appropriate adjustments to fit your needs -- that is
  383. # if you will be using alternate character sets.
  384. #
  385. # There are very few terminals running the full ANSI 3.64 standard,
  386. # so I could only test this entry on one verified terminal (Visual 102).
  387. # I would appreciate the results on other terminals sent to me.
  388. #
  389. # Please report comments, changes, and problems to:
  390. #
  391. # U.S. MAIL:   Hugh Hansard
  392. #              Box: 22830
  393. #              Emory University
  394. #              Atlanta, GA. 30322.
  395. #
  396. # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
  397. #
  398. ansi77|ansi 3.64 standard 1977 version, 
  399.     am, mir, 
  400.     cols#80, it#8, lines#24, 
  401.     bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  402.     cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  403.     cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K, 
  404.     home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 
  405.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  406.     kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, ri=\EM, 
  407.     rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h, smso=\E[7m, 
  408.     smul=\E[4m, 
  409.  
  410. # Procomm and some other ANSI emulations don't recognize all of the ANSI-
  411. # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
  412. # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
  413. # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
  414. # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
  415. # to confuse many emulators.  On the other hand, we can count on these programs
  416. # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured 
  417. # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
  418. # ANSI.SYS influence.
  419. # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
  420. pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
  421.     am, mir, msgr, 
  422.     cols#80, it#8, lines#24, 
  423.     bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
  424.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  425.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  426.     hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  427.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, 
  428.     use=klone+sgr-dumb, 
  429. pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
  430.     lines#25, use=pcansi-m, 
  431. pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
  432.     lines#33, use=pcansi-m, 
  433. pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
  434.     lines#43, use=pcansi-m, 
  435. # The color versions.  All PC emulators do color...
  436. pcansi|ibm-pc terminal programs claiming to be ansi, 
  437.     use=klone+color, use=pcansi-m, 
  438. pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
  439.     lines#25, use=pcansi, 
  440. pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
  441.     lines#33, use=pcansi, 
  442. pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
  443.     lines#43, use=pcansi, 
  444.  
  445. # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
  446. # If you want pound signs rather than dollars, replace `B' with `A'
  447. # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
  448. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
  449. ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
  450.     mc5i, 
  451.     cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
  452.     cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
  453.     ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
  454.     ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H, 
  455.     kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  456.     kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, 
  457.     rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B, 
  458.     s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g, 
  459.     vpa=\E[%i%p1%dd, use=pcansi-m, 
  460.  
  461. # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
  462. # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
  463. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
  464. ansi|ansi/pc-term compatible with color, 
  465.     u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
  466.     u9=\E[c, 
  467.     use=ecma+color, use=klone+sgr, use=ansi-m, 
  468.  
  469. #
  470. # ANSI.SYS entries
  471. #
  472. # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
  473. # documentation (except for the keyboard key reassignment feature, which
  474. # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
  475. # though undocumented.  The <pfkey> capability is untested but should work for
  476. # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
  477. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
  478. ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
  479.     am, mir, msgr, xon, 
  480.     cols#80, lines#25, 
  481.     clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  482.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, 
  483.     is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  484.     khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
  485.     rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
  486.     u7=\E[6n, 
  487.     use=klone+color, use=klone+sgr, 
  488. ansi.sys|ANSI.SYS 3.1 and later versions, 
  489.     el=\E[K, use=ansi.sys-old, 
  490.  
  491. #
  492. # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
  493. # This should only be used when the terminal emulator cannot redefine the keys.
  494. # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
  495. # definitions must be restored.  If the terminal emulator is quit while in vi
  496. # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
  497. # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
  498. # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
  499. # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
  500. # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
  501. # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
  502. # Consequently the End keypad key could not be set (it is relatively safe and
  503. # actually useful because it sends ^@ O, which beeps and opens a line above).
  504. ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
  505.     is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
  506.     rmkx=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p, 
  507.     smkx=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p, 
  508.     use=ansi.sys, 
  509. #
  510. # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
  511. nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
  512.     dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
  513.     is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, use=ansi.sys, 
  514. #
  515. # See ansi.sysk and nansi.sys above.
  516. nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
  517.     dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
  518.     is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
  519.     use=ansi.sysk, 
  520.  
  521. #### ANSI console types
  522. #
  523.  
  524. #### BeOS entry for Terminal program. Seems to be almost ANSI
  525. #    
  526. beterm|BeOS Terminal, 
  527.     am, eo, mir, msgr, xenl, xon, 
  528.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  529.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  530.     clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
  531.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  532.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  533.     dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  534.     el=\E[K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
  535.     hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  536.     il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kb2=\E[G, 
  537.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  538.     kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~, 
  539.     kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
  540.     kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~, 
  541.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
  542.     nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
  543.     rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, setab=\E[4%p1%dm, 
  544.     setaf=\E[3%p1%dm, setb=\E[%p1%'('%+%cm, 
  545.     setf=\E[%p1%{30}%+%cm, sgr0=\E[0;10m, smir=\E[4h, 
  546.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, 
  547.     u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
  548.  
  549. # This entry is good for the 1.2.13 version of the Linux console driver.
  550. #
  551. # Note: there are numerous broken linux entries out there, which didn't screw
  552. # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
  553. # One common pathology is an incorrect tab length of 4.
  554. #
  555. # ***************************************************************************
  556. # *                                                                         *
  557. # *                           WARNING:                                      *
  558. # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
  559. # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
  560. # * character. Here are the keymap replacement lines that will set this up: *
  561. # *                                                                         *
  562. #    keycode  15 = Tab             Tab
  563. #        alt     keycode  15 = Meta_Tab
  564. #        shift    keycode  15 = F26
  565. #    string F26 ="\033[Z"
  566. # *                                                                         *
  567. # * This has to use a key slot which is unfortunate (any unused one will    *
  568. # # do, F26 is the higher-numbered one).  The change ought to be built      *
  569. # * into the kernel tables.                                                 *
  570. # *                                                                         *
  571. # ***************************************************************************
  572. #
  573. # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
  574. # and it matters, turn off <ccc>.  The %02x escape used to implement this is
  575. # not back-portable to SV curses and not supported in ncurses versions before
  576. # 1.9.9. All linux kernels since 1.2.13 (at least) set the screen size
  577. # themselves; this entry assumes that capability.
  578. #
  579. linux|linux console, 
  580.     am, bce, eo, mir, msgr, xenl, xon, 
  581.     it#8, ncv@, 
  582.     acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
  583.     bel=^G, civis=\E[?25l, clear=\E[H\E[J, cnorm=\E[?25h, 
  584.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  585.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  586.     dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
  587.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
  588.     flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG, 
  589.     ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  590.     il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, kcbt=\E[Z, kcub1=\E[D, 
  591.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
  592.     kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, 
  593.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  594.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  595.     kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, 
  596.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  597.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
  598.     nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, 
  599.     rmul=\E[24m, rs1=\Ec, sc=\E7, 
  600.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
  601.     smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
  602.     u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
  603.     use=klone+sgr, use=ecma+color, 
  604. linux-m|Linux console no color, 
  605.     colors@, pairs@, 
  606.     setab@, setaf@, setb@, setf@, use=linux, 
  607. linux-c-nc|linux console 1.3.x hack for ncurses only, 
  608.     ccc, 
  609.     initc=\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x, 
  610.     oc=\E]R, 
  611.     use=linux, 
  612. # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
  613. linux-c|linux console 1.3.6+ with private palette for each virtual console, 
  614.     ccc, 
  615.     colors#8, pairs#64, 
  616.     initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%p'a'%+%c%e%p1%d%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;, 
  617.     oc=\E]R, 
  618.     use=linux, 
  619.  
  620. # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
  621. linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
  622.     ich@, ich1@, 
  623.     use=linux, 
  624.  
  625. # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
  626. # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
  627. linux-koi8|linux with koi8 alternate character set, 
  628.     acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224, 
  629.     use=linux, use=klone+koi8acs, 
  630.  
  631. # Another entry for KOI8-r with QingLong's acsc.
  632. # (which one better complies the standard?)
  633. linux-koi8r|linux with koi8-r alternate character set, 
  634.     use=linux, use=klone+koi8acs, 
  635.  
  636. # SCO console and SOS-Syscons console for 386bsd
  637. # (scoansi: had unknown capabilities
  638. #    :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
  639. #    :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
  640. #    :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
  641. #    :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
  642. #    :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
  643. # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
  644. # on the <smacs>=\E[12m  -- esr)
  645. scoansi|SCO Extended ANSI standard crt, 
  646.     am, eo, xon, 
  647.     cols#80, it#8, lines#25, 
  648.     blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, 
  649.     cub1=\E[D, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  650.     cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  651.     ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, 
  652.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf1=\E[M, 
  653.     kf10=\E[V, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, 
  654.     kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
  655.     ri=\E[T, 
  656.     use=klone+sgr-dumb, 
  657.  
  658. # This actually describes the generic SVr4 display driver for Intel boxes.
  659. # The <dim=\E[2m> isn't documented and therefore may not be reliable.
  660. # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
  661. att6386|at386|386at|AT&T WGS 6386 console, 
  662.     am, bw, eo, xon, 
  663.     cols#80, it#8, lines#25, 
  664.     acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
  665.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 
  666.     clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 
  667.     cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  668.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  669.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  670.     dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  671.     home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  672.     ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 
  673.     indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 
  674.     kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  675.     kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 
  676.     kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
  677.     kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 
  678.     knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
  679.     ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
  680.     sc=\E7, 
  681.     sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 
  682.     sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
  683.     tbc=\E[2g, vpa=\E[%i%p1%dd, 
  684.     use=klone+color, 
  685. # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
  686. pc6300plus|AT&T 6300 plus, 
  687.     am, xon, 
  688.     cols#80, lines#24, 
  689.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
  690.     clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 
  691.     cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
  692.     dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 
  693.     home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 
  694.     invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  695.     kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 
  696.     kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 
  697.     nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  698.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  699.  
  700. # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
  701. #
  702. # I have a UNIX PC which I use as a terminal attached to my Linux PC.
  703. # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
  704. # is broken. All the special key sequences are broken, making it unusable
  705. # with Emacs. The problem stems from the following:
  706. # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
  707. # keypad!), loadable fonts, and strange highlighting modes ("dithered"
  708. # half-intensity, "smeared" bold, and real strike-out, for example.) It also
  709. # uses resizable terminal windows, but the bundled terminal program always
  710. # uses an 80x24 window (and doesn't support seem to support a 132-column
  711. # mode.) 
  712. # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
  713. # library which was a superset of SVr3.5 curses (called tam, for "terminal
  714. # access method".) tam includes support for real, overlapping windows,
  715. # onscreen function key labels, and bitmap graphics. But since the primary
  716. # user interface on the UNIX PC was a GUI program (ua, for "user
  717. # assistant",) and remote administration was considered important for the
  718. # machine, tam also supported VT100-compatible terminals attached to the
  719. # serial port or used across the StarLan network. To simulate the extra keys
  720. # not present on a VT100, users could press ESC and a two-letter sequence,
  721. # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
  722. # however, were not the same as those sent by the actual Undo key. The
  723. # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
  724. # (If you're interested in adding some of the tam calls to ncurses, btw, I
  725. # have the full documentation and several programs which use tam. It also
  726. # used an extended terminfo format to describe key sequences, special
  727. # highlighting modes, etc.) 
  728. # KEYS: This means that ncurses would quite painful on the UNIX PC, since
  729. # there are two sequences for every key-modifier combination (local keyboard
  730. # sequence and remote "VT100" sequence.) But I doubt many people are trying
  731. # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
  732. # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
  733. # seem to have been built from the manual describing the VT100 sequences. 
  734. # This means it doesn't work for a real live UNIX PC. 
  735. # FONTS: The UNIX PC also has a strange interpretation of "alternate
  736. # character set". Rather than the VT100 graphics you might expect, it allows
  737. # up to 8 custom fonts to be loaded at any given time. This means that
  738. # programs expecting VT100 graphics will usually be disappointed. For this
  739. # reason I have disabled the smacs/rmacs sequences, but they could easily be
  740. # re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
  741. # manpage), should you wish to do so: 
  742. # SGR10 - Select font 0 - ESC [ 10 m or SO
  743. # SGR11 - Select font 1 - ESC [ 11 m or SI
  744. # SGR12 - Select font 2 - ESC [ 12 m
  745. # ... (etc.)
  746. # SGR17 - Select font 7 - ESC [ 17 m
  747. # Graphics for line drawing are not reliably found at *any* character
  748. # location because the UNIX PC has dynamically reloadable fonts. I use font
  749. # 0 for regular text and font 1 for italics, but this is by no means
  750. # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
  751. # MISC: The cursor visible/cursor invisible sequences were swapped in the
  752. # distributed terminfo.
  753. # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
  754. # the UNIX PC terminfo entry. The modified version works great with Lynx,
  755. # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
  756. # attached by serial cable. In Emacs, even the Undo key works, and many
  757. # applications can now use the F1-F8 keys. 
  758. # esr's notes:
  759. #    Terminfo entry for the AT&T Unix PC 7300
  760. #    from escape(7) in Unix PC 7300 Manual.
  761. #    Somewhat similar to a vt100-am (but different enough
  762. #    to redo this from scratch.)
  763. #
  764. #    /***************************************************************
  765. #    *
  766. #    *           FONT LOADING PROGRAM FOR THE UNIX PC
  767. #    *
  768. #    *     This routine loads a font defined in the file ALTFONT
  769. #    *     into font memory slot #1.  Once the font has been loaded,
  770. #    *     it can be used as an alternative character set.
  771. #    *
  772. #    *     The call to ioctl with the argument WIOCLFONT is the key 
  773. #    *     to this routine.  For more information, see window(7) in 
  774. #    *     the PC 7300 documentation.
  775. #    ***************************************************************/
  776. #    #include <string.h>        /* needed for strcpy call */
  777. #    #include <sys/window.h>         /* needed for ioctl call */
  778. #    #define FNSIZE    60        /* font name size */
  779. #    #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
  780. #    /*
  781. #    *     The file /usr/lib/wfont/special.8.ft comes with the
  782. #    *     standard PC software.  It defines a graphics character set
  783. #    *     similar to that of the Teletype 5425 terminal.  To view
  784. #    *     this or other fonts in /usr/lib/wfont, use the command
  785. #    *     cfont <filename>.  For further information on fonts see
  786. #    *     cfont(1) in the PC 7300 documentation.
  787. #    */
  788. #    
  789. #    struct altfdata     /* structure for alt font data */
  790. #    {
  791. #    short    altf_slot;        /* memory slot number */
  792. #    char    altf_name[FNSIZE];    /* font name (file name) */
  793. #    };
  794. #    ldfont()
  795. #    {
  796. #        int wd;        /* window in which altfont will be */
  797. #        struct altfdata altf;
  798. #        altf.altf_slot=1;
  799. #        strcpy(altf.altf_name,ALTFONT);
  800. #        for (wd =1; wd < 12; wd++) {
  801. #             ioctl(wd, WIOCLFONT,&altf);
  802. #            }
  803. #    }
  804. #
  805. # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
  806. # they're confirmed by the man page for the System V display---esr)
  807. #
  808. att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
  809.     am, xon, 
  810.     cols#80, it#8, lines#24, 
  811.     bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 
  812.     clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, 
  813.     cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  814.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  815.     cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
  816.     ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 
  817.     il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 
  818.     kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 
  819.     kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 
  820.     kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 
  821.     kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 
  822.     kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 
  823.     kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
  824.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 
  825.     ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 
  826.     kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
  827.     kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 
  828.     kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 
  829.     kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 
  830.     kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 
  831.     ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 
  832.     rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
  833.     smul=\E[4m, 
  834.  
  835. # From: Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997
  836. # (iris-ansi: added rmam/smam based on init string -- esr)
  837. iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100), 
  838.     am, 
  839.     cols#80, it#8, lines#40, 
  840.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
  841.     cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
  842.     cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  843.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  844.     cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
  845.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  846.     home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  847.     is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P, 
  848.     kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
  849.     kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
  850.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
  851.     kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\EOQ, kf11=\EOR, 
  852.     kf12=\EOS, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
  853.     kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
  854.     kf9=\EOP, khome=\E[H, kich1=\E[139q, knp=\E[154q, 
  855.     kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, kspd=\E[217q, 
  856.     nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, rc=\E8, 
  857.     rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7, 
  858.     sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
  859.     tbc=\E[3g, 
  860. iris-ansi-ap|IRIS ANSI in application-keypad mode, 
  861.     is2=\E[?1l\E>\E[?7h, kf10=\E[010q, kf11=\E[011q, 
  862.     kf12=\E[012q, rmkx=\E>, smkx=\E=, 
  863.     use=iris-ansi, 
  864.  
  865. # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
  866. # (T.Dickey 98/1/24)
  867. iris-color|xwsh|IRIX ANSI with color, 
  868.     ncv#33, 
  869.     csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m, 
  870.     ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m, 
  871.     rmul=\E[24m, rs1=\Ec, 
  872.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  873.     sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  874.     use=klone+color, use=iris-ansi-ap, 
  875.  
  876. # The following is a version of the ibm-pc entry distributed with PC/IX,
  877. # (Interactive Systems' System 3 for the Big Blue), modified by Richard
  878. # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
  879. # (the former is untrue, and the latter failed under UCB/man); standout and
  880. # underline modes have been added.  Note: this entry describes the "native"
  881. # capabilities of the PC monochrome display, without ANY emulation; most
  882. # communications packages (but NOT PC/IX connect) do some kind of emulation.
  883. pcix|PC/IX console, 
  884.     am, bw, eo, 
  885.     cols#80, lines#24, 
  886.     clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  887.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  888.     home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
  889.     smul=\E[4m, 
  890.  
  891. # (ibmpcx: this entry used to be known as ibmx.
  892. # It formerly included the following extension capabilities:
  893. #    :GC=b:GL=v:GR=t:RT=^J:\
  894. #    :GH=\E[196g:GV=\E[179g:\
  895. #    :GU=\E[193g:GD=\E[194g:\
  896. #    :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
  897. #    :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
  898. #    :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
  899. # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
  900. # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
  901. # what was there before. -- esr)
  902. ibmpcx|xenix|ibmx|IBM PC xenix console display, 
  903.     am, msgr, 
  904.     cols#80, lines#25, 
  905.     clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  906.     cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  907.     ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H, 
  908.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, 
  909.     kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
  910.     kpp=\E[Z, 
  911.     use=klone+acs, use=klone+sgr, 
  912.  
  913.  
  914. # QNX 4.0 Console
  915. # Michael's original version of this entry had <am@>, <smcup=\Ei>,
  916. # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
  917. # right corner without triggering a scroll.  The ncurses terminfo library can
  918. # handle this case with the <ich1> capability, and prefers <am> for better
  919. # optimization.  Bug: The <op> capability resets attributes.
  920. # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
  921. qnx|qnx4|qnx console, 
  922.     daisy, km, mir, msgr, xhpa, xt, 
  923.     colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
  924.     acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263, 
  925.     bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
  926.     cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  927.     cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, cvvis=\Ey2, 
  928.     dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
  929.     il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
  930.     kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
  931.     kDL=\377\366, kEND=\377\301, kEOL=\377\311, 
  932.     kEXT=\377\367, kFND=\377\370, kHLP=\377\371, 
  933.     kHOM=\377\260, kIC=\377\340, kLFT=\377\264, 
  934.     kMOV=\377\306, kMSG=\377\304, kNXT=\377\272, 
  935.     kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
  936.     kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
  937.     kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
  938.     kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0, 
  939.     kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
  940.     kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
  941.     kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
  942.     kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
  943.     ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320, 
  944.     kext=\377\270, kf1=\377\201, kf10=\377\212, 
  945.     kf11=\377\256, kf12=\377\257, kf13=\377\213, 
  946.     kf14=\377\214, kf15=\377\215, kf16=\377\216, 
  947.     kf17=\377\217, kf18=\377\220, kf19=\377\221, 
  948.     kf2=\377\202, kf20=\377\222, kf21=\377\223, 
  949.     kf22=\377\224, kf23=\377\333, kf24=\377\334, 
  950.     kf25=\377\225, kf26=\377\226, kf27=\377\227, 
  951.     kf28=\377\230, kf29=\377\231, kf3=\377\203, 
  952.     kf30=\377\232, kf31=\377\233, kf32=\377\234, 
  953.     kf33=\377\235, kf34=\377\236, kf35=\377\276, 
  954.     kf36=\377\277, kf37=\377\321, kf38=\377\322, 
  955.     kf39=\377\323, kf4=\377\204, kf40=\377\324, 
  956.     kf41=\377\325, kf42=\377\326, kf43=\377\327, 
  957.     kf44=\377\330, kf45=\377\331, kf46=\377\332, 
  958.     kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206, 
  959.     kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
  960.     khlp=\377\350, khome=\377\240, khts=\377\342, 
  961.     kich1=\377\253, kil1=\377\273, kind=\377\261, 
  962.     kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
  963.     knp=\377\252, knxt=\377\312, kopn=\377\357, 
  964.     kopt=\377\353, kpp=\377\242, kprt=\377\255, 
  965.     kprv=\377\302, krdo=\377\336, kref=\377\354, 
  966.     kres=\377\360, krfr=\377\347, kri=\377\271, 
  967.     krmir=\377\313, krpl=\377\362, krst=\377\352, 
  968.     ksav=\377\361, kslt=\377\247, kspd=\377\335, 
  969.     ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
  970.     rep=\Eg%p2%' '%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
  971.     rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
  972.     setf=\E@%p1%Pf%gb%gf%d%d, 
  973.     sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;, 
  974.     sgr0=\E}\E]\E>\E), smcup=\Ei, smso=\E(, smul=\E[, 
  975.  
  976. #### NetBSD consoles
  977. #
  978. # pcvt termcap database entries (corresponding to release 3.31)
  979. # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
  980. #
  981. # (For the terminfo master file, I translated these into terminfo syntax.
  982. # Then I dropped all the pseudo-HP entries. we don't want and can't use
  983. # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
  984. # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
  985.  
  986. # NOTE: because the 386BSD "vi"/"elvis" seems to have a bug if
  987. # both <ich1> and <smir> are specified (an original VT220 
  988. # shows the same buggy behaviour!), <ich1> has been taken
  989. # out of this entry. for reference, it should be <ich1=\E[@>.
  990. pcvtXX|pcvt vt200 emulator (DEC VT220), 
  991.     am, km, mir, msgr, xenl, 
  992.     it#8, vt#3, 
  993.     acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
  994.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  995.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  996.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  997.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  998.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  999.     el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  1000.     il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
  1001.     is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
  1002.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1003.     kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
  1004.     kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
  1005.     khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
  1006.     nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
  1007.     ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
  1008.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  1009.     rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1010.     sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
  1011.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1012.  
  1013. #    NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
  1014. #    termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
  1015. #    50 lines entries; 80 columns
  1016. pcvt25|dec vt220 emulation with 25 lines, 
  1017.     cols#80, lines#25, 
  1018.     is2=\E[1;25r\E[25;1H, use=pcvtXX, 
  1019. pcvt28|dec vt220 emulation with 28 lines, 
  1020.     cols#80, lines#28, 
  1021.     is2=\E[1;28r\E[28;1H, use=pcvtXX, 
  1022. pcvt35|dec vt220 emulation with 35 lines, 
  1023.     cols#80, lines#35, 
  1024.     is2=\E[1;35r\E[35;1H, use=pcvtXX, 
  1025. pcvt40|dec vt220 emulation with 40 lines, 
  1026.     cols#80, lines#40, 
  1027.     is2=\E[1;40r\E[40;1H, use=pcvtXX, 
  1028. pcvt43|dec vt220 emulation with 43 lines, 
  1029.     cols#80, lines#43, 
  1030.     is2=\E[1;43r\E[43;1H, use=pcvtXX, 
  1031. pcvt50|dec vt220 emulation with 50 lines, 
  1032.     cols#80, lines#50, 
  1033.     is2=\E[1;50r\E[50;1H, use=pcvtXX, 
  1034.  
  1035. #    NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
  1036. #    termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
  1037. #    50 lines entries; 132 columns
  1038. pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
  1039.     cols#132, lines#25, 
  1040.     is2=\E[1;25r\E[25;1H, use=pcvtXX, 
  1041. pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
  1042.     cols#132, lines#28, 
  1043.     is2=\E[1;28r\E[28;1H, use=pcvtXX, 
  1044. pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
  1045.     cols#132, lines#35, 
  1046.     is2=\E[1;35r\E[35;1H, use=pcvtXX, 
  1047. pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
  1048.     cols#132, lines#40, 
  1049.     is2=\E[1;40r\E[40;1H, use=pcvtXX, 
  1050. pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
  1051.     cols#132, lines#43, 
  1052.     is2=\E[1;43r\E[43;1H, use=pcvtXX, 
  1053. pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
  1054.     cols#132, lines#50, 
  1055.     is2=\E[1;50r\E[50;1H, use=pcvtXX, 
  1056.  
  1057. # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
  1058. # manufactured by Sharp for the Japenese market.
  1059. # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
  1060. x68k|x68k-ite|NetBSD/x68k ITE, 
  1061.     cols#96, lines#32, 
  1062.     kclr=\E[9~, khlp=\E[28~, use=vt220, 
  1063.  
  1064. #### FreeBSD console entries
  1065. #
  1066. # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
  1067. # Andrey Chernov maintains the FreeBSD termcap distributions.
  1068. #
  1069. # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
  1070. # or comment out the :cb: capability in the console entry.
  1071. #
  1072. # Alexander Lukyanov reports:
  1073. # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
  1074. # Now el1 clears not only to the line beginning, but also a large chunk
  1075. # of previous line. But there is another bug - ech does not work at all.
  1076. #
  1077.  
  1078. # for syscons
  1079. # common entry without semigraphics
  1080. # Bug: The <op> capability resets attributes.
  1081. # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
  1082. # instance el1 does if the cursor is moved to the right margin first.  Removed
  1083. # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
  1084. #
  1085. # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
  1086. # Note that this disables standout with color.
  1087. cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
  1088.     am, bce, bw, eo, msgr, npc, 
  1089.     colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
  1090.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  1091.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  1092.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  1093.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  1094.     dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  1095.     home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, 
  1096.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
  1097.     indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
  1098.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, 
  1099.     kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, 
  1100.     kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
  1101.     kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, 
  1102.     nel=\E[E, op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
  1103.     rmso=\E[m, rs1=\E[x\E[m\Ec, setab=\E[4%p1%dm, 
  1104.     setaf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
  1105. cons25|ansis|ansi80x25|freebsd console (25-line ansi mode), 
  1106.     acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371, 
  1107.     use=cons25w, 
  1108. cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
  1109.     colors@, pairs@, 
  1110.     bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25, 
  1111. cons30|ansi80x30|freebsd console (30-line ansi mode), 
  1112.     lines#30, use=cons25, 
  1113. cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode), 
  1114.     lines#30, use=cons25-m, 
  1115. cons43|ansi80x43|freebsd console (43-line ansi mode), 
  1116.     lines#43, use=cons25, 
  1117. cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode), 
  1118.     lines#43, use=cons25-m, 
  1119. cons50|ansil|ansi80x50|freebsd console (50-line ansi mode), 
  1120.     lines#50, use=cons25, 
  1121. cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode), 
  1122.     lines#50, use=cons25-m, 
  1123. cons60|ansi80x60|freebsd console (60-line ansi mode), 
  1124.     lines#60, use=cons25, 
  1125. cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
  1126.     lines#60, use=cons25-m, 
  1127. cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
  1128.     acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225, 
  1129.     use=cons25w, 
  1130. cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
  1131.     colors@, pairs@, 
  1132.     op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r, 
  1133. cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines), 
  1134.     lines#50, use=cons25r, 
  1135. cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono), 
  1136.     lines#50, use=cons25r-m, 
  1137. cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines), 
  1138.     lines#60, use=cons25r, 
  1139. cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono), 
  1140.     lines#60, use=cons25r-m, 
  1141. # ISO 8859-1 FreeBSD console
  1142. cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
  1143.     acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237, 
  1144.     use=cons25w, 
  1145. cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
  1146.     colors@, pairs@, 
  1147.     bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25l1, 
  1148. cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines), 
  1149.     lines#50, use=cons25l1, 
  1150. cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono), 
  1151.     lines#50, use=cons25l1-m, 
  1152. cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines), 
  1153.     lines#60, use=cons25l1, 
  1154. cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono), 
  1155.     lines#60, use=cons25l1-m, 
  1156.  
  1157. #### 386BSD and BSD/OS Consoles
  1158. #
  1159.  
  1160. # This was the original 386BSD console entry (I think).  
  1161. # Some places it's named oldpc3|oldibmpc3.
  1162. # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
  1163. origpc3|origibmpc3|IBM PC 386BSD Console, 
  1164.     am, bw, eo, xon, 
  1165.     cols#80, lines#25, 
  1166.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  1167.     bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1168.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  1169.     home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  1170.     kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x, 
  1171.     rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x, 
  1172.     smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x, 
  1173.  
  1174. # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
  1175. oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
  1176.     km, 
  1177.     lines#25, 
  1178.     bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M, 
  1179.     ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  1180.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, 
  1181.     knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
  1182.  
  1183. # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
  1184. # Note, the emulator supports many of the additional console features
  1185. # listed in the iBCS2 (e.g. character-set selection) though not all
  1186. # are described here.  This entry really ought to be upgraded.
  1187. # Also note, the console will also work with fewer lines after doing
  1188. # "stty rows NN", e.g. to use 24 lines.
  1189. # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
  1190. # Bug: The <op> capability resets attributes.
  1191. bsdos|BSD/OS console, 
  1192.     am, bw, eo, km, xon, 
  1193.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  1194.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
  1195.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  1196.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  1197.     cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[=8F, dl=\E[%p1%dM, 
  1198.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
  1199.     il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  1200.     kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, knp=\E[G, 
  1201.     kpp=\E[I, nel=^M^J, op=\E[x, rc=\E8, rev=\E[7m, rmso=\E[0m, 
  1202.     sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m, 
  1203.     smso=\E[7m, 
  1204. bsdos-bold|IBM PC BSD/386 Console with bold instead of underline, 
  1205.     rmul=\E[0m, smul=\E[1m, 
  1206.     use=bsdos, 
  1207.  
  1208. # If you are BSDI, you want the following entries, for the moment.  
  1209. # In release 2.0 they will probably phase out the pc3 and ibmpc3 names
  1210. pc3|IBM PC BSD/386 Console, 
  1211.     use=bsdos, 
  1212. ibmpc3|pc3-bold|IBM PC BSD/386 Console with bold instead of underline, 
  1213.     smul=\E[1m, 
  1214.     use=bsdos-bold, 
  1215.  
  1216. #### DEC VT100 and compatibles
  1217. #
  1218. # DEC terminals from the vt100 forward (and the vt52, way obsolete but still
  1219. # the basis of some emulations) are collected here. Older DEC terminals and
  1220. # micro consoles can be found in the `obsolete' section.  More details on
  1221. # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
  1222. # found near the end of this file.
  1223. #
  1224. # Except where noted, these entries are DEC's official terminfos.
  1225. # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
  1226. # Engineering for more information.  Updated terminfos and termcaps 
  1227. # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
  1228. #
  1229. # In October 1995 DEC sold its terminals business, including the VT and Dorio
  1230. # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
  1231. # its name to Boundless Technologies; see http://www.boundless.com.
  1232. #
  1233.  
  1234. # (The <acsc>, <rmacs>, and <smacs> capabilities aren't in DEC's official
  1235. # entry -- esr)
  1236. vt52|dec vt52, 
  1237.     cols#80, it#8, lines#24, 
  1238.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1239.     bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
  1240.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  1241.     el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
  1242.     kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
  1243.  
  1244. # NOTE:  Any VT100 emulation, whether in hardware or software, almost
  1245. # certainly includes what DEC called the `Level 1 editing extension' codes;
  1246. # only the very oldest VT100s lacked these and there probably aren't any of
  1247. # those left alive.  To capture these, use one of the VT102 entries.
  1248. #
  1249. # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
  1250. # since the cursor is left in a different position while in the
  1251. # weird state (concept at beginning of next line, vt100 at end
  1252. # of this line) so all versions of vi before 3.7 don't handle
  1253. # <xenl> right on vt100. The correct way to handle <xenl> is when
  1254. # you output the char in column 80, immediately output CR LF
  1255. # and then assume you are in column 1 of the next line. If <xenl>
  1256. # is on, am should be on too.
  1257. # I assume you have smooth scroll off or are at a slow enough baud
  1258. # rate that it doesn't matter (1200? or less). Also this assumes
  1259. # that you set auto-nl to "on", if you set it off use vt100-nam 
  1260. # below.
  1261. # The padding requirements listed here are guesses. It is strongly
  1262. # recommended that xon/xoff be enabled, as this is assumed here.
  1263. # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
  1264. # tab settings are in non-volatile memory and don't need to be 
  1265. # reset upon login. Also setting the number of columns glitches 
  1266. # the screen annoyingly. You can type "reset" to get them set.
  1267. #
  1268. # Here's a diagram of the VT100 keypad keys with their bindings.
  1269. # The top line is the name of the key (some DEC keyboards have the keys
  1270. # labelled somewhat differently, like GOLD instead of PF1, but this is
  1271. # the most "official" name).  The second line is the escape sequence it
  1272. # generates in Application Keypad mode (where "$" means the ESC
  1273. # character).  The third line contains two items, first the mapping of
  1274. # the key in terminfo, and then in termcap.
  1275. #   _______________________________________
  1276. #  |   PF1   |   PF2   |   PF3   |   PF4   |
  1277. #  |   $OP   |   $OQ   |   $OR   |   $OS   |
  1278. #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
  1279. #  |    7         8         9         -    |
  1280. #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
  1281. #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
  1282. #  |    4    |    5    |    6    |    ,    |
  1283. #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
  1284. #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
  1285. #  |    1    |    2    |    3    |         |
  1286. #  |   $Oq   |   $Or   |   $Os   |  enter  |
  1287. #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
  1288. #  |         0         |   .     |         |
  1289. #  |        $Op        |  $On    |         |
  1290. #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
  1291. #
  1292. # And here, for those of you with orphaned VT100s lacking documentation, is
  1293. # a description of the soft switches invoked when you do `Set Up'.
  1294. #  Scroll 0-Jump               Shifted 3   0-#
  1295. #  |      1-Smooth             |           1-British pound sign
  1296. #  | Autorepeat 0-Off          | Wrap Around 0-Off
  1297. #  | |          1-On           | |           1-On
  1298. #  | | Screen 0-Dark Bkg       | | New Line 0-Off
  1299. #  | | |      1-Light Bkg      | | |        1-On
  1300. #  | | | Cursor 0-Underline    | | | Interlace 0-Off
  1301. #  | | | |      1-Block        | | | |         1-On
  1302. #  | | | |                     | | | |
  1303. #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
  1304. #                | | | |                     | | | |
  1305. #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
  1306. #                | | |               1-On    | | |       1-50 Hz
  1307. #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
  1308. #                | |           1-ANSI        | |                1-8 Bits
  1309. #                | Keyclick 0-Off            | Parity 0-Off
  1310. #                |          1-On             |        1-On
  1311. #                Margin Bell 0-Off           Parity Sense 0-Odd
  1312. #                            1-On                         1-Even
  1313. #
  1314. # The following SET-UP modes are assumed for normal operation:
  1315. #    ANSI_MODE    AUTO_XON/XOFF_ON    NEWLINE_OFF    80_COLUMNS
  1316. #    WRAP_AROUND_ON  JUMP_SCROLL_OFF
  1317. # Other SET-UP modes may be set for operator convenience or communication
  1318. # requirements; I recommend
  1319. #    AUTOREPEAT_ON    BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
  1320. # Unless you have a graphics add-on such as Digital Engineering's VT640
  1321. # (and even then, whenever it can be arranged!) you should set
  1322. #    INTERLACE_OFF
  1323. #
  1324. # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
  1325. vt100|vt100-am|dec vt100 (w/advanced video), 
  1326.     am, msgr, xenl, xon, 
  1327.     cols#80, it#8, lines#24, vt#3, 
  1328.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1329.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1330.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1331.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  1332.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  1333.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  1334.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
  1335.     enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
  1336.     ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
  1337.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
  1338.     kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
  1339.     kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
  1340.     rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  1341.     rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
  1342.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1343.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  1344.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  1345.     smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  1346. vt100nam|vt100-nam|vt100 no automargins, 
  1347.     am@, xenl@, use=vt100-am, 
  1348. vt100-vb|dec vt100 (w/advanced video) & no beep, 
  1349.     bel@, flash=\E[?5h\E[?5l, use=vt100, 
  1350.  
  1351. # Ordinary vt100 in 132 column ("wide") mode.
  1352. vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
  1353.     cols#132, lines#24, 
  1354.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, 
  1355. vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
  1356.     cols#132, lines#14, vt@, 
  1357.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, 
  1358.  
  1359. # vt100 with no advanced video.
  1360. vt100-nav|vt100 without advanced video option, 
  1361.     xmc#1, 
  1362.     blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, 
  1363.     smul@, 
  1364.     use=vt100, 
  1365. vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
  1366.     cols#132, lines#14, use=vt100-nav, 
  1367.  
  1368. # vt100 with one of the 24 lines used as a status line.
  1369. # We put the status line on the top.
  1370. vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
  1371.     eslok, hs, 
  1372.     lines#23, 
  1373.     clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
  1374.     cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8, 
  1375.     fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8, 
  1376.     tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am, 
  1377.  
  1378. # Status line at bottom. 
  1379. # Clearing the screen will clobber status line.
  1380. vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
  1381.     eslok, hs, 
  1382.     lines#23, 
  1383.     dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
  1384.     tsl=\E7\E[24;%p1%dH\E[1K, 
  1385.     use=vt100-am, 
  1386.  
  1387. # Most of the `vt100' emulators out there actually emulate a vt102
  1388. # This entry (or vt102-nsgr) is probably the right thing to use for
  1389. # these.  
  1390. vt102|dec vt102, 
  1391.     mir, 
  1392.     dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100, 
  1393. vt102-w|dec vt102 in wide mode, 
  1394.     cols#132, 
  1395.     rs3=\E[?3h, use=vt102, 
  1396.  
  1397. # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
  1398. # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
  1399. # string in the canonical vt100 entry above leaves the screen littered
  1400. # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
  1401. # after highlight turnoffs.  This entry should fix that, and even leave
  1402. # ACS support working, at the cost of making multiple-highlight changes 
  1403. # slightly more expensive.
  1404. # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
  1405. vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
  1406.     sgr@, sgr0=\E[m, 
  1407.     use=vt102, 
  1408.  
  1409. # VT125 Graphics CRT.  Clear screen also erases graphics
  1410. vt125|vt125 graphics terminal, 
  1411.     clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100, 
  1412.  
  1413. # This isn't a DEC entry, it came from University of Wisconsin.
  1414. # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
  1415. vt131|dec vt131, 
  1416.     am, xenl, 
  1417.     cols#80, it#8, lines#24, vt#3, 
  1418.     bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  1419.     clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1420.     cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
  1421.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
  1422.     ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
  1423.     is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
  1424.     kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  1425.     kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, 
  1426.     rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>, 
  1427.     rmul=\E[m$<2/>, 
  1428.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1429.     sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=, 
  1430.     smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
  1431.  
  1432. # vt132 - like vt100 but slower and has ins/del line and such.
  1433. # I'm told that <smir>/<rmir> are backwards in the terminal from the
  1434. # manual and from the ANSI standard, this describes the actual 
  1435. # terminal. I've never actually used a vt132 myself, so this 
  1436. # is untested.
  1437. #
  1438. vt132|DEC vt132, 
  1439.     xenl, 
  1440.     dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
  1441.     ip=$<7>, rmir=\E[4h, smir=\E[4l, 
  1442.     use=vt100, 
  1443.  
  1444. # vt220:
  1445. # This vt220 description maps F5--F9 to the second block of function keys
  1446. # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
  1447. # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
  1448. # PF1--PF4 are used as F1--F4.
  1449. #
  1450. vt220|vt200|DEC VT220 in vt100 emulation mode, 
  1451.     am, mir, xenl, xon, 
  1452.     cols#80, lines#24, vt#3, 
  1453.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1454.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
  1455.     clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
  1456.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1457.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  1458.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  1459.     if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, 
  1460.     is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  1461.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
  1462.     kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
  1463.     kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
  1464.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8, 
  1465.     rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
  1466.     ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  1467.     rmso=\E[27m, rmul=\E[24m, 
  1468.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1469.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  1470.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
  1471.     smso=\E[7m, smul=\E[4m, 
  1472. vt220-w|vt200-w|DEC vt220 in wide mode, 
  1473.     cols#132, 
  1474.     rs3=\E[?3h, use=vt220, 
  1475.  
  1476. #
  1477. # vt220d:
  1478. # This vt220 description regards F6--F10 as the second block of function keys
  1479. # at the top of the keyboard.  This mapping follows the description given
  1480. # in the VT220 Programmer Reference Manual and agrees with the labeling
  1481. # on some terminals that emulate the vt220.  There is no support for an F5.
  1482. # See vt220 for an alternate mapping. 
  1483. #
  1484. vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
  1485.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  1486.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  1487.     kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~, 
  1488.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  1489.     use=vt220, 
  1490.  
  1491. vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
  1492.     am@, 
  1493.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
  1494.  
  1495. # This is misnamed (see xterm-8bit for an example of 8-bit controls)
  1496. vt220-8|dec vt220 8 bit terminal, 
  1497.     am, mc5i, mir, msgr, xenl, xon, 
  1498.     cols#80, it#8, lines#24, 
  1499.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1500.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  1501.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1502.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1503.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1504.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  1505.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
  1506.     flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
  1507.     ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
  1508.     il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  1509.     is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
  1510.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
  1511.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  1512.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
  1513.     kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
  1514.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
  1515.     khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
  1516.     kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, 
  1517.     mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
  1518.     rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
  1519.     rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
  1520.     smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1521.  
  1522. # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
  1523. # (not an official DEC entry!)
  1524. # The problem with real vt220 terminals is they don't send escapes when in
  1525. # in vt220 mode.  This can be gotten around two ways.  1> don't send
  1526. # escapes or 2> put the vt220 into vt100 mode and use all the nifty
  1527. # features of vt100 advanced video which it then has.
  1528. #
  1529. # This entry takes the view of putting a vt220 into vt100 mode so
  1530. # you can use the escape key in emacs and everything else which needs it.
  1531. #
  1532. # You probably don't want to use this on a VMS machine since VMS will think
  1533. # it has a vt220 and will get fouled up coming out of emacs
  1534. #
  1535. # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
  1536. vt200-js|vt220-js|dec vt200 series with jump scroll, 
  1537.     am, 
  1538.     cols#80, 
  1539.     bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1540.     cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  1541.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  1542.     il1=\E[L, ind=\ED, 
  1543.     is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m, 
  1544.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1545.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, 
  1546.     rf=/usr/lib/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l, 
  1547.     rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m, 
  1548.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smdc=, 
  1549.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m, 
  1550.  
  1551. # This was DEC's vt320.  Use the purpose-built one below instead 
  1552. #vt320|DEC VT320 in vt100 emulation mode,
  1553. #    use=vt220,
  1554.  
  1555. #
  1556. # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
  1557. #
  1558. vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
  1559.     am@, 
  1560.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
  1561.  
  1562. # These entries are not DEC's official ones, they were purpose-built for the 
  1563. # VT320.  Here are the designer's notes:
  1564. # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
  1565. # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
  1566. # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
  1567. # Things that use <knxt> usually use tab anyways... and things that don't use
  1568. # tab usually use <knxt> instead...
  1569. # kprv is same as tab - Backtab is useless...
  1570. # I left out <sgr> because of its RIDICULOUS complexity,
  1571. # and the resulting fact that it causes the termcap translation of the entry
  1572. # to SMASH the 1k-barrier...
  1573. # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
  1574. # (vt320: uncommented <fsl> --esr) 
  1575. vt320|vt300|dec vt320 7 bit terminal, 
  1576.     am, eslok, hs, mir, msgr, xenl, 
  1577.     cols#80, lines#24, wsl#80, 
  1578.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1579.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  1580.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  1581.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1582.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1583.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1584.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  1585.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, 
  1586.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
  1587.     il1=\E[L, ind=\ED, 
  1588.     is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1589.     ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, 
  1590.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1591.     kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
  1592.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  1593.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  1594.     kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
  1595.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  1596.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~, 
  1597.     kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, 
  1598.     nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300, 
  1599.     ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
  1600.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  1601.     rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1602.     sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
  1603.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1604.     tsl=\E[1$}\E[H\E[K, 
  1605. vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
  1606.     am@, 
  1607.     is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  1608.     rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  1609.     use=vt320, 
  1610. # We have to init 132-col mode, not 80-col mode.
  1611. vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
  1612.     cols#132, wsl#132, 
  1613.     is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1614.     rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1615.     use=vt320, 
  1616. vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
  1617.     am@, 
  1618.     is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  1619.     rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  1620.     use=vt320-w, 
  1621.  
  1622. # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
  1623. #   which are pretty much a superset of the VT320.  They have the
  1624. #   host writable status line, yet another different DRCS matrix size,
  1625. #   and such, but they add the DEC Technical character set, Multiple text
  1626. #   pages, selectable length pages, and the like.  The difference between
  1627. #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
  1628. #   monitor, the former has 4 planes and a color monitor.  These terminals
  1629. #   support VT131 and ANSI block mode, but as with much of these things,
  1630. #   termcap/terminfo doesn't deal with these features.
  1631. #
  1632. # Note that this entry is are set up in what was the standard way for GNU
  1633. # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
  1634. # keys were switched into application mode at the same time the numeric pad
  1635. # is switched into application mode.  This changes the definitions of the
  1636. # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
  1637. # your termcap or terminfo entry,
  1638. #
  1639. # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
  1640. # (vt340: string capability "sb=\E[M" corrected to "sr";
  1641. # also, added <rmam>/<smam> based on the init string -- esr)
  1642. vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
  1643.     am, eslok, hs, mir, msgr, xenl, xon, 
  1644.     cols#80, it#8, lines#24, vt#3, 
  1645.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1646.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
  1647.     cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1648.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  1649.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  1650.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
  1651.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  1652.     dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
  1653.     flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I, 
  1654.     hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  1655.     is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1656.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1657.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  1658.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
  1659.     lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
  1660.     rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
  1661.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
  1662.     rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
  1663.     smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
  1664.     smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
  1665.  
  1666. # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
  1667. # (originally written with vt420 as its primary name, and usable for it).
  1668. # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
  1669. #    text pages and long text pages with selectable length of the vt340, along
  1670. #    with left and right margins, rectangular area text copy, fill, and erase
  1671. #    operations, selected region character attribute change operations,
  1672. #    page memory and rectangle checksums, insert/delete column, reception
  1673. #    macros, and other features too numerous to remember right now.  TERMCAP
  1674. #    can only take advantage of a few of these added features.
  1675. #
  1676. # Note that this entry is are set up in what was the standard way for GNU
  1677. # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
  1678. # keys were switched into application mode at the same time the numeric pad
  1679. # is switched into application mode.  This changes the definitions of the
  1680. # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
  1681. # your termcap entry,
  1682. #
  1683. # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
  1684. # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
  1685. # also, added <rmam>/<smam> based on the init string -- esr)
  1686. vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
  1687.     am, eslok, hs, mir, msgr, xenl, xon, 
  1688.     cols#80, it#8, lines#24, vt#3, 
  1689.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1690.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  1691.     clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
  1692.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1693.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1694.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1695.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  1696.     dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
  1697.     el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
  1698.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  1699.     il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  1700.     is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  1701.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1702.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  1703.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
  1704.     lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
  1705.     rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
  1706.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
  1707.     rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
  1708.     smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
  1709.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1710.     tsl=\E[2$~\E[1$}\E[1;%dH, 
  1711.  
  1712. # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
  1713. # a missing <sc> -- esr)
  1714. vt420|DEC VT420, 
  1715.     am, mir, xenl, xon, 
  1716.     cols#80, lines#24, vt#3, 
  1717.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1718.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1719.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1720.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1721.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  1722.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  1723.     if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
  1724.     is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
  1725.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  1726.     kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
  1727.     kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
  1728.     kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  1729.     kslt=\E[4~, rc=\E8, rev=\E[7m$<2>, 
  1730.     rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>, 
  1731.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
  1732.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1733.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
  1734.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  1735.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
  1736.     smkx=\E=, smso=\E[7m, smul=\E[4m, 
  1737.  
  1738. #
  1739. # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
  1740. # takes two parameters, the key and the string.  Translating the key is
  1741. # straightforward (keys 1-5 are not defined on real terminals, though some
  1742. # emulators define these):
  1743. #
  1744. #               if (key < 16) then  value = key;
  1745. #               else if (key < 21) then value = key + 1; 
  1746. #               else if (key < 25) then value = key + 2;
  1747. #               else if (key < 27) then value = key + 3;
  1748. #               else if (key < 30) then value = key + 4;
  1749. #               else value = key + 5;
  1750. #
  1751. # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
  1752. # There's no provision in terminfo for emitting a string in this format, so the
  1753. # application has to know it.
  1754. #
  1755. vt420pc|DEC VT420 w/PC keyboard, 
  1756.     kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
  1757.     kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
  1758.     kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~, 
  1759.     kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, 
  1760.     kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, 
  1761.     kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, 
  1762.     kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, 
  1763.     kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, 
  1764.     kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
  1765.     kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~, 
  1766.     kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~, 
  1767.     kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, 
  1768.     kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
  1769.     kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
  1770.     pctrm=USR_TERM\:vt420pcdos\:, 
  1771.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, use=vt420, 
  1772.  
  1773. vt420pcdos|DEC VT420 w/PC for DOS Merge, 
  1774.     lines#25, 
  1775.     dispc=%?%p2%{19}%=%t\E\023\021%e%p2%{32}%<%t\E%p2%c%e%p2%{127}%=%t\E\177%e%p2%c%;, 
  1776.     pctrm@, 
  1777.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@, 
  1778.     sgr0=\E[m, smsc=\E[?1;2r\E[34h, 
  1779.     use=vt420pc, 
  1780.  
  1781. vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
  1782.     kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
  1783.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  1784.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  1785.     kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
  1786.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  1787.     khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS, 
  1788.     use=vt420, 
  1789.  
  1790. vt510|DEC VT510, 
  1791.     use=vt420, 
  1792. vt510pc|DEC VT510 w/PC keyboard, 
  1793.     use=vt420pc, 
  1794. vt510pcdos|DEC VT510 w/PC for DOS Merge, 
  1795.     use=vt420pcdos, 
  1796.  
  1797. # VT520/VT525
  1798. #
  1799. # The VT520 is a monochrome text terminal capable of managing up to
  1800. # four independent sessions in the terminal.  It has multiple ANSI
  1801. # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
  1802. # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
  1803. # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
  1804. #
  1805. # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
  1806. # [Alt]/[Print Screen] depending upon which keyboard and which
  1807. # terminal mode is being used.  If Set-Up has been disabled or
  1808. # assigned to an unknown key, Set-Up may be entered by pressing
  1809. # [F3] as the first key after power up, regardless of keyboard type.
  1810. # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
  1811. vt520|DEC VT520, 
  1812.     am, mir, xenl, xon, 
  1813.     cols#80, lines#24, vt#3, 
  1814.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1815.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1816.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1817.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1818.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  1819.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  1820.     if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
  1821.     is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
  1822.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  1823.     kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
  1824.     kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
  1825.     kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
  1826.     kpp=\E[5~, kslt=\E[4~, 
  1827.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
  1828.     rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
  1829.     ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  1830.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1831.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
  1832.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  1833.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
  1834.     smso=\E[7m, smul=\E[4m, 
  1835.  
  1836. # (vt525: I added <rmam>/<smam> based on the init string;
  1837. # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
  1838. vt525|DEC VT525, 
  1839.     am, mir, xenl, xon, 
  1840.     cols#80, lines#24, vt#3, 
  1841.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1842.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1843.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1844.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1845.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  1846.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  1847.     if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
  1848.     is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
  1849.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  1850.     kdch1=\E[3~, kf0=\E[29~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, 
  1851.     kf3=\EOR, kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, 
  1852.     kf8=\E[20~, kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
  1853.     kpp=\E[5~, kslt=\E[4~, 
  1854.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
  1855.     rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
  1856.     ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  1857.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1858.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
  1859.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  1860.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
  1861.     smso=\E[7m, smul=\E[4m, 
  1862.  
  1863. #### VT100 emulations
  1864. #
  1865.  
  1866. # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
  1867. # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
  1868. # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
  1869. # that this works best with a stock vt100 entry.
  1870. dec-vt100|EWAN telnet's vt100 emulation, 
  1871.     use=vt100, 
  1872.  
  1873. # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
  1874. dec-vt220|DOS tnvt200 terminal emulator, 
  1875.     am@, use=vt220, 
  1876.  
  1877. # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
  1878. # anyone who needs PC VT340 emulation. (or anything below that level, for
  1879. # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
  1880. # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
  1881. # I can send the address if requested.
  1882. # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
  1883. # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
  1884. z340|zstem vt340 terminal emulator 132col 42line, 
  1885.     lines#42, 
  1886.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
  1887.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
  1888.     use=vt320-w, 
  1889. z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins), 
  1890.     am@, 
  1891.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
  1892.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
  1893.     use=z340, 
  1894.  
  1895. #### X terminal emulators
  1896. #
  1897. # You can add the following line to your .Xdefaults to change the terminal type
  1898. # set by the xterms you start up to my-xterm:
  1899. #
  1900. # *termName:  my-xterm
  1901. #
  1902. # System administrators can change the default entry for xterm instances
  1903. # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
  1904. # case, xterm will detect and reject an invalid terminal type, falling back
  1905. # to the default of xterm.
  1906. #
  1907.  
  1908. # X10/6.6    11/7/86, minus alternate screen, plus (csr)
  1909. # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
  1910. # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
  1911. # as these seem not to work -- esr)
  1912. x10term|vs100-x10|xterm terminal emulator (X10 window system), 
  1913.     am, km, mir, msgr, xenl, xon, 
  1914.     cols#80, it#8, lines#65, 
  1915.     bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
  1916.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  1917.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  1918.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
  1919.     il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, 
  1920.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  1921.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
  1922.     rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  1923.     sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
  1924.     smso=\E[7m, smul=\E[4m, 
  1925. # Compatible with the R5 xterm 
  1926. # (from the XFree86 3.2 distribution, <blink=@> removed)
  1927. xterm-r5|xterm R5 version, 
  1928.     am, km, msgr, xenl, 
  1929.     cols#80, it#8, lines#24, 
  1930.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  1931.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1932.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1933.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1934.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  1935.     el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  1936.     il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
  1937.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
  1938.     kdl1=\E[31~, kel=\E[8~, kf0=\EOq, kf1=\E[11~, kf10=\E[21~, 
  1939.     kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, kf3=\E[13~, 
  1940.     kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  1941.     kf9=\E[20~, khome=\E[7~, kich1=\E[2~, kil1=\E[30~, 
  1942.     knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM, 
  1943.     rmkx=\E[?1l\E>, rmso=\E[m, 
  1944.     rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, sc=\E7, 
  1945.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  1946.     sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, tbc=\E[3g, 
  1947. # Compatible with the R6 xterm
  1948. # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
  1949. xterm-r6|xterm-old|xterm X11R6 version, 
  1950.     am, km, mir, msgr, xenl, 
  1951.     cols#80, it#8, lines#24, 
  1952.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1953.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  1954.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1955.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1956.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1957.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  1958.     el=\E[K, enacs=\E)0, home=\E[H, ht=^I, il=\E[%p1%dL, 
  1959.     il1=\E[L, ind=^J, 
  1960.     is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
  1961.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1962.     kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
  1963.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  1964.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  1965.     kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, 
  1966.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  1967.     kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
  1968.     memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
  1969.     rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
  1970.     rmso=\E[m, rmul=\E[m, 
  1971.     rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
  1972.     sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
  1973.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1974. # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
  1975. # The name has been changed and some aliases have been removed.
  1976. xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
  1977.     am, bce, km, mir, msgr, xenl, 
  1978.     colors#8, cols#80, it#8, lines#24, pairs#64, 
  1979.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1980.     bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  1981.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  1982.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1983.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1984.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1985.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  1986.     dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
  1987.     enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, 
  1988.     hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  1989.     il=\E[%p1%dL, il1=\E[L, ind=^J, 
  1990.     is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
  1991.     ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
  1992.     kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1993.     kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
  1994.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  1995.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  1996.     kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
  1997.     kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  1998.     kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
  1999.     kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
  2000.     memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
  2001.     rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
  2002.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=^O, 
  2003.     rs2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, sc=\E7, 
  2004.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  2005.     setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2006.     setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2007.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  2008.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
  2009.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  2010.     tbc=\E[3g, vpa=\E[%i%p1%dd, 
  2011.  
  2012. # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
  2013. # codes for F1-F4 except while in VT220 mode.
  2014. xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
  2015.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  2016.     use=xterm-xf86-v32, 
  2017.  
  2018. # This beta version will probably be released in XFree86 4.0 in 1998.
  2019. # Besides providing printer support, it exploits a new feature that allows
  2020. # xterm to use terminfo-based descriptions with the titeInhibit resource.
  2021. xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
  2022.     mc5i, 
  2023.     mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l, 
  2024.     rs1=\Ec, smcup=\E[?1048h\E[?1047h, 
  2025.     use=xterm-xf86-v33, 
  2026.  
  2027. # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
  2028. xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
  2029.     rmso=\E[m, rmul=\E[m, 
  2030.     use=xterm-xf86-v33, 
  2031.  
  2032. # This is one of the variants from XFree86 3.3 (T.Dickey)
  2033. xterm-16color|xterm with 16 colors like aixterm, 
  2034.     colors#16, ncv#32, pairs#256, 
  2035.     setab@, setaf@, 
  2036.     setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
  2037.     setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
  2038.     use=xterm-xf86-v40, 
  2039.  
  2040. # This is another variant, for XFree86 4.0 xterm (T.Dickey)
  2041. # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
  2042. # To use it, your decTerminalID resource must be set to 200 or above.
  2043. #
  2044. #    HTS    \E H    \210
  2045. #    RI    \E M    \215
  2046. #    SS3    \E O    \217
  2047. #    CSI    \E [    \233
  2048. #
  2049. xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
  2050.     am, bce, km, mc5i, mir, msgr, xenl, 
  2051.     colors#8, cols#80, it#8, lines#24, pairs#64, 
  2052.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2053.     bel=^G, bold=\2331m, cbt=\233Z, civis=\233?25l, 
  2054.     clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
  2055.     csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
  2056.     cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
  2057.     cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
  2058.     cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P, 
  2059.     dl=\233%p1%dM, dl1=\233M, ech=\233%p1%dX, ed=\233J, 
  2060.     el=\233K, el1=\2331K, enacs=\E(B\E)0, 
  2061.     flash=\233?5h\233?5l, home=\233H, hpa=\233%i%p1%dG, 
  2062.     ht=^I, hts=\210, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
  2063.     il1=\233L, ind=^J, 
  2064.     is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
  2065.     ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
  2066.     kc1=\217q, kc3=\217s, kcub1=\217D, kcud1=\217B, 
  2067.     kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\217F, 
  2068.     kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
  2069.     kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
  2070.     kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
  2071.     kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
  2072.     kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
  2073.     kf9=\23320~, kfnd=\2331~, khome=\217H, kich1=\2332~, 
  2074.     kmous=\233M, knp=\2336~, kpp=\2335~, kslt=\2334~, 
  2075.     mc0=\233i, mc4=\2334i, mc5=\2335i, meml=\El, memu=\Em, 
  2076.     op=\23339;49m, rc=\E8, rev=\2337m, ri=\215, rmacs=^O, 
  2077.     rmam=\233?7l, rmcup=\2332J\233?47l\E8, rmir=\2334l, 
  2078.     rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, rs1=\Ec, 
  2079.     rs2=\E7\E[62"p\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
  2080.     sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
  2081.     setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2082.     setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2083.     sgr=\2330%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  2084.     sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\E7\233?47h, 
  2085.     smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
  2086.     tbc=\2333g, vpa=\233%i%p1%dd, 
  2087.  
  2088. # This is xterm for ncurses. It mainly adds mappings for more high-half
  2089. # characters.  Note that these will only work for fixed-width fonts.
  2090. xterm|vs100|xterms|xterm terminal emulator (X Window System), 
  2091.     acsc=++\,\,--..00``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2092.     kmous=\E[M, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  2093.     use=xterm-r6, 
  2094.  
  2095. # These entries allow access to the X titlebar and icon name as a status line. 
  2096. # Note that twm (and possibly window managers descended from it such as tvtwm, 
  2097. # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
  2098. # with it.
  2099. xterm+sl|access X title line and icon name, 
  2100.     hs, 
  2101.     wsl#40, 
  2102.     dsl=\E]0;\007, fsl=^G, tsl=\E]0;, 
  2103. xterm+sl-twm|access X title line (pacify twm-descended window managers), 
  2104.     hs, 
  2105.     wsl#40, 
  2106.     dsl=\E]2;\007, fsl=^G, tsl=\E]2;, 
  2107.  
  2108. #
  2109. # The following xterm variants don't depend on your base version
  2110. #
  2111. xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
  2112.     smso=\E[1m, 
  2113.     use=xterm, 
  2114. # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
  2115. # (kterm should not invoke DEC Graphics as the alternate character set
  2116. #  -- Kenji Rikitake)
  2117. kterm|kterm kanji terminal emulator (X window system), 
  2118.     eslok, hs, 
  2119.     acsc@, csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs@, fsl=\E[?F, 
  2120.     kmous=\E[M, op=\E[39;49m, rc=\E8, rmacs@, sc=\E7, smacs@, 
  2121.     tsl=\E[?E\E[?%i%dT, 
  2122.     use=xterm-r6, use=klone+color, 
  2123. # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
  2124. xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
  2125.     ich@, ich1@, 
  2126.     use=xterm, 
  2127. # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
  2128. xterm1|xterm terminal emulator ignoring the alternate screen buffer, 
  2129.     rmcup@, smcup@, 
  2130.     use=xterm, 
  2131.  
  2132. # This describes the capabilities of color_xterm, an xterm variant from
  2133. # before ECMA-64 color support was folded into the main-line xterm release.
  2134. # This entry is straight from color_xterm's maintainer.
  2135. # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
  2136. color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
  2137.     am, km, mir, msgr, xenl, 
  2138.     colors#8, cols#80, it#8, lines#65, pairs#64, 
  2139.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2140.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  2141.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2142.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2143.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2144.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  2145.     el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
  2146.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  2147.     is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy, 
  2148.     kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB, 
  2149.     kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
  2150.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
  2151.     kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
  2152.     kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, 
  2153.     kmous=\E[M, knp=\E[6~, kpp=\E[5~, op=\E[39;49m, rc=\E8, 
  2154.     rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
  2155.     rmcup=\E>\E[?41;1r, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
  2156.     rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
  2157.     sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  2158.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  2159.     sgr0=\E[m, smacs=^N, smam=\E[?7h, 
  2160.     smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
  2161.     smul=\E[4m, 
  2162.  
  2163. # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
  2164. # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
  2165. # Notes:
  2166. # rxvt 2.21b uses
  2167. #    smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
  2168. # but some applications don't work with that.
  2169. # It also has an AIX extension
  2170. #    box2=lqkxjmwuvtn,
  2171. # and
  2172. #    ech=\E[%p1%dX,
  2173. # but the latter does not work correctly.
  2174. #
  2175. # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
  2176. # Since rxvt is not really compatible with xterm, it should be configured as
  2177. # "rxvt" (monochrome) and "rxvt-color". 
  2178. rxvt-basic|rxvt terminal base (X Window System), 
  2179.     am, bce, eo, km, mir, msgr, xenl, xon, 
  2180.     cols#80, it#8, lines#24, 
  2181.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2182.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  2183.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  2184.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2185.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2186.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2187.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  2188.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
  2189.     flash=\E[?5h\E[?5l, home=\E[H, ht=^I, hts=\EH, 
  2190.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  2191.     is1=\E[?47l\E=\E[?1l, 
  2192.     is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
  2193.     kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
  2194.     kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, 
  2195.     kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
  2196.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, 
  2197.     kend=\E[8~, kent=\EOM, kf0=\E[21~, kf1=\E[11~, kf10=\E[21~, 
  2198.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  2199.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  2200.     kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
  2201.     kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  2202.     kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, 
  2203.     kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, 
  2204.     rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[?47l\E8, rmir=\E[4l, 
  2205.     rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
  2206.     rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
  2207.     rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
  2208.     s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
  2209.     smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
  2210.     smul=\E[4m, tbc=\E[3g, 
  2211. rxvt|rxvt terminal emulator (X Window System), 
  2212.     colors#8, pairs#64, 
  2213.     op=\E[39;49m, setab=\E[%p1%{40}%+%dm, 
  2214.     setaf=\E[%p1%{30}%+%dm, sgr0=\E[m\017, use=rxvt-basic, 
  2215.  
  2216. # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
  2217. # Here's a termcap entry I've been using for xterm_color, which comes
  2218. # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
  2219. # color stuff, I also have a status line defined as the window manager
  2220. # title bar. [I have translated it to terminfo -- ESR]
  2221. xterm-pcolor|xterm with color used for highlights and status line, 
  2222.     bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
  2223.     smul=\E[4m\E[42m, 
  2224.     use=xterm+sl, use=xterm-r6, 
  2225.  
  2226. # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
  2227. # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
  2228. hpterm|X-hpterm|hp X11 terminal emulator, 
  2229.     am, da, db, mir, xhp, 
  2230.     cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
  2231.     acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
  2232.     cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
  2233.     cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
  2234.     hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, 
  2235.     kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  2236.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
  2237.     kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
  2238.     khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
  2239.     knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El, 
  2240.     memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
  2241.     pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
  2242.     pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
  2243.     pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
  2244.     rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
  2245.     rmul=\E&d@, 
  2246.     sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
  2247.     sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
  2248.     smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  2249.  
  2250. # This entry describes an xterm with Sun-style function keys enabled
  2251. # via the X resource setting "xterm*sunFunctionKeys:true"
  2252. # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
  2253. # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
  2254. # because we want it to be seen as <kcpy>. 
  2255. # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
  2256. # with their Sun keyboard labels instead.
  2257. # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
  2258. xterm-sun|xterm with sunFunctionKeys true, 
  2259.     kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z, 
  2260.     kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z, 
  2261.     kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
  2262.     kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z, 
  2263.     kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z, 
  2264.     kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
  2265.     kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z, 
  2266.     kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
  2267.     kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z, 
  2268.     knp=\E[222z, kpp=\E[216z, kund=\E[195z, 
  2269.     use=xterm, 
  2270. xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
  2271.     cols#80, lines#24, use=xterm-sun, 
  2272.  
  2273. # This is for the extensible terminal emulator on the X11R6 contrib tape.
  2274. # (emu: I changed <setab>/<setaf> to <setb>/<setf> -- esr)
  2275. emu|emu native mode, 
  2276.     mir, msgr, xon, 
  2277.     colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
  2278.     acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
  2279.     bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
  2280.     clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
  2281.     cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
  2282.     cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
  2283.     cuu=\Ep-%p1%d;, cuu1=\EA, cvvis=\Ea, dch=\EI%p1%d;, 
  2284.     dch1=\EI1;, dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, 
  2285.     el=\EK, el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh, 
  2286.     il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
  2287.     kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
  2288.     kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
  2289.     kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
  2290.     kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02, 
  2291.     kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
  2292.     kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
  2293.     knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
  2294.     rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES, 
  2295.     rs2=\ES\Es0;\Er0;, setb=\Es%i%p1%d;, setf=\Er%i%p1%d;, 
  2296.     sgr0=\ES, smacs=\0, smir=\EY, smso=\ES\ET, smul=\ES\EV, 
  2297.     tbc=\Ej, 
  2298.  
  2299. ######## MGR
  2300. #
  2301. # MGR is a Bell Labs window system lighter-weight than X.
  2302. # These entries describe MGR's xterm-equivalent. 
  2303. # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
  2304. #
  2305.  
  2306. mgr|Bellcore MGR (non X) window system terminal emulation, 
  2307.     am, km, 
  2308.     bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M, 
  2309.     csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er, 
  2310.     cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h, 
  2311.     dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>, 
  2312.     dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u, 
  2313.     ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>, 
  2314.     il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  2315.     kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S, 
  2316.     rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n, 
  2317.     smul=\E4n, 
  2318. mgr-sun|Mgr window with Sun keyboard, 
  2319.     ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, 
  2320.     kc3=\E[222z, kcpy=\E197z, kend=\E[220z, kent=\E[250z, 
  2321.     kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, 
  2322.     kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, 
  2323.     kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
  2324.     kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z, 
  2325.     kopn=\E[198z, kpp=\E[216z, kund=\E[195z, 
  2326.     use=mgr, 
  2327. mgr-linux|Mgr window with Linux keyboard, 
  2328.     ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, 
  2329.     kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~, 
  2330.     kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, 
  2331.     kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  2332.     khome=\E[1~, knp=\E[6~, kpp=\E[5~, 
  2333.     use=mgr, 
  2334.  
  2335. ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
  2336. #
  2337.  
  2338. # Columbus UNIX virtual terminal. This terminal also appears in 
  2339. # UNIX 4.0 and successors as line discipline 1 (?), but is 
  2340. # undocumented and does not really work quite right.
  2341. cbunix|cb unix virtual terminal, 
  2342.     am, da, db, 
  2343.     cols#80, lines#24, lm#0, 
  2344.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  2345.     cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL, 
  2346.     el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB, 
  2347.     kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A, 
  2348.     smso=\Ea^D, smul=\Ea^A, 
  2349. # (vremote: removed obsolete ":nl@:" -- esr)
  2350. vremote|virtual remote terminal, 
  2351.     am@, 
  2352.     cols#79, use=cbunix, 
  2353.  
  2354. pty|4bsd pseudo teletype, 
  2355.     cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
  2356.     smso=\Ea$, smul=\Ea!, 
  2357.     use=cbunix, 
  2358.  
  2359. # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
  2360. eterm|gnu emacs term.el terminal emulation, 
  2361.     am, mir, xenl, 
  2362.     cols#80, lines#24, 
  2363.     bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  2364.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2365.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2366.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2367.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\\E[J, 
  2368.     el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
  2369.     il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m, 
  2370.     rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
  2371.     sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, 
  2372.     smul=\E[4m, 
  2373.  
  2374. # Entries for use by the FSF's `screen' program.  The screen and
  2375. # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
  2376. # come from University of Wisconsin and may be older.
  2377. # (screen: added <cnorm> on ANSI model -- esr)
  2378.  
  2379. screen|VT 100/ANSI X3.64 virtual terminal, 
  2380.     am, km, mir, msgr, xenl, 
  2381.     colors#8, cols#80, it#8, lines#24, pairs#64, 
  2382.     acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2383.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  2384.     clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
  2385.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2386.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2387.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
  2388.     cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  2389.     dl1=\E[M, ed=\E[J, el=\E[K, enacs=\E(B\E)0, flash=\Eg, 
  2390.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
  2391.     il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
  2392.     kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, 
  2393.     kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  2394.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  2395.     khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
  2396.     nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l, 
  2397.     rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7, 
  2398.     sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=, 
  2399.     smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
  2400.     use=ecma+color, 
  2401.  
  2402. screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
  2403.     cols#132, use=screen, 
  2404.  
  2405. screen2|old VT 100/ANSI X3.64 virtual terminal, 
  2406.     cols#80, it#8, lines#24, 
  2407.     cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  2408.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  2409.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2410.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  2411.     el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, 
  2412.     il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  2413.     kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
  2414.     kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
  2415.     nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, 
  2416.     rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
  2417.     smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
  2418. # (screen3: removed unknown ":xv:LP:G0:" -- esr)
  2419. screen3|older VT 100/ANSI X3.64 virtual terminal, 
  2420.     km, mir, msgr, 
  2421.     cols#80, it#8, lines#24, 
  2422.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  2423.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2424.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2425.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
  2426.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  2427.     el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  2428.     il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
  2429.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
  2430.     kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
  2431.     rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
  2432.     sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
  2433.     smul=\E[4m, tbc=\E[3g, 
  2434.  
  2435. #### Pilot Pro Palm-Top
  2436. #
  2437. # From: Jason Downs <downsj@downsj.com>, 15 Jun 1997 (Top Gun Telnet's author)
  2438. pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional, 
  2439.     am, xenl, 
  2440.     cols#39, lines#16, 
  2441.     bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J, 
  2442.     cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I, 
  2443.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
  2444.     rmso=\EB, smso=\Eb, 
  2445.  
  2446. ######## WORKSTATION CONSOLES
  2447. #
  2448.  
  2449. #### Alpha consoles
  2450. #
  2451.  
  2452. # This is from the OSF/1 Release 1.0 termcap file
  2453. pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation, 
  2454.     am, xon, 
  2455.     cols#80, lines#25, 
  2456.     bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  2457.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  2458.     el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H, 
  2459.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  2460.     nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
  2461.  
  2462. #### Sun consoles
  2463. #
  2464.  
  2465. # :is1: resets scrolling region in case a previous user had used "tset vt100"
  2466. oldsun|Sun Microsystems Workstation console, 
  2467.     am, km, mir, msgr, 
  2468.     cols#80, it#8, lines#34, 
  2469.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  2470.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  2471.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
  2472.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  2473.     is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  2474.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  2475.     rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
  2476. # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
  2477. # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
  2478. # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
  2479. sun-il|Sun Microsystems console with working insert-line, 
  2480.     am, km, msgr, 
  2481.     cols#80, lines#34, 
  2482.     bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  2483.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  2484.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
  2485.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  2486.     kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  2487.     kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z, 
  2488.     kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 
  2489.     kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, 
  2490.     kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
  2491.     knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z, 
  2492.     kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s, 
  2493.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
  2494.     sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t, 
  2495. # On a SparcStation 5, <il1>/<il> flake out on the last line.
  2496. # Unfortunately, without them the terminal has no way to scroll.
  2497. sun-ss5|Sun SparcStation 5 console, 
  2498.     il@, il1@, use=sun-il, 
  2499. # If you are using an SS5, change the sun definition to use sun-ss5.
  2500. sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
  2501.     use=sun-il, 
  2502.  
  2503. # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
  2504. sun-s|Sun Microsystems Workstation window with status line, 
  2505.     hs, 
  2506.     dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun, 
  2507. sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
  2508.     hs, 
  2509.     dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e, 
  2510. sun-48|Sun 48-line window, 
  2511.     cols#80, lines#48, use=sun, 
  2512. sun-34|Sun 34-line window, 
  2513.     cols#80, lines#34, use=sun, 
  2514. sun-24|Sun 24-line window, 
  2515.     cols#80, lines#24, use=sun, 
  2516. sun-17|Sun 17-line window, 
  2517.     cols#80, lines#17, use=sun, 
  2518. sun-12|Sun 12-line window, 
  2519.     cols#80, lines#12, use=sun, 
  2520. sun-1|Sun 1-line window for sysline, 
  2521.     eslok, hs, 
  2522.     cols#80, lines#1, 
  2523.     dsl=^L, fsl=\E[K, tsl=^M, use=sun, 
  2524. sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
  2525.     ich1@, rmir@, smir@, 
  2526.     use=sun, 
  2527. sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
  2528.     lines#35, 
  2529.     rmcup=\E[>4h, smcup=\E[>4l, use=sun, 
  2530.  
  2531. #### Iris consoles
  2532. #
  2533.  
  2534. # (wsiris: this had extension capabilities
  2535. #    :HS=\E7F2:HE=\E7F7:\
  2536. #    :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
  2537. # See the note on Iris extensions near the end of this file.  
  2538. # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> & 
  2539. # <flash> from BRL -- esr)
  2540. wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
  2541.     am, 
  2542.     cols#80, it#8, lines#40, 
  2543.     bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, cuf1=\EC, 
  2544.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E;, 
  2545.     dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, 
  2546.     flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL, 
  2547.     ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB, 
  2548.     kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, 
  2549.     kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI, 
  2550.     rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P, 
  2551.     smul=\E7R2\E9P, 
  2552.  
  2553. #### NeWS consoles
  2554. #
  2555. # Console terminal windows under the NeWS (Sun's Display Postscript windowing
  2556. # environment).   Note: these have nothing to do with Sony's News workstation
  2557. # line.
  2558. #
  2559.  
  2560. # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
  2561. # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
  2562. psterm|psterm-basic|NeWS psterm-80x34, 
  2563.     am, hs, km, ul, 
  2564.     cols#80, it#8, lines#34, 
  2565.     blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;, 
  2566.     cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY, 
  2567.     dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, 
  2568.     home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
  2569.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr, 
  2570.     ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^], 
  2571.     sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu, 
  2572.     tsl=\EOl, 
  2573. psterm-96x48|NeWS psterm 96x48, 
  2574.     cols#96, lines#48, use=psterm, 
  2575. psterm-90x28|NeWS psterm 90x28, 
  2576.     cols#90, lines#28, use=psterm, 
  2577. psterm-80x24|NeWS psterm 80x24, 
  2578.     cols#80, lines#24, use=psterm, 
  2579. # This is a faster termcap for psterm.  Warning:  if you use this termcap,
  2580. # some control characters you type will do strange things to the screen.
  2581. # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
  2582. psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
  2583.     am, hs, km, ul, 
  2584.     cols#80, it#8, lines#34, 
  2585.     blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;, 
  2586.     cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y, 
  2587.     dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
  2588.     il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  2589.     kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni, 
  2590.     rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
  2591.     smso=^Oo, smul=^Ou, tsl=^Ol, 
  2592.  
  2593. #### NeXT Consoles
  2594. #
  2595. # Use `glasstty' for the Workspace application
  2596. #
  2597.  
  2598. # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
  2599. next|NeXT console, 
  2600.     am, xt, 
  2601.     cols#80, it#8, lines#24, 
  2602.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  2603.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  2604.     ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  2605.     rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m, 
  2606. nextshell|NeXT Shell application, 
  2607.     am, 
  2608.     cols#80, 
  2609.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
  2610.     kcud1=^J, nel=^M^J, 
  2611.  
  2612. ### Sony NEWS workstations
  2613. #
  2614.  
  2615. # (news-unk: this had :KB=news: -- esr)
  2616. news-unk|SONY NEWS vt100 emulator common entry, 
  2617.     am, xenl, 
  2618.     cols#80, 
  2619.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  2620.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  2621.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
  2622.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  2623.     if=/usr/lib/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
  2624.     is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD, 
  2625.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP, 
  2626.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
  2627.     kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM, 
  2628.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
  2629.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  2630. #
  2631. # (news-29: this had :TY=ascii: --esr)
  2632. news-29, 
  2633.     lines#29, use=news-unk, 
  2634. # (news-29-euc: this had :TY=euc: --esr)
  2635. news-29-euc, 
  2636.     use=news-29, 
  2637. # (news-29-sjis: this had :TY=sjis: --esr)
  2638. news-29-sjis, 
  2639.     use=news-29, 
  2640. #
  2641. # (news-33: this had :TY=ascii: --esr)
  2642. news-33, 
  2643.     lines#33, use=news-unk, 
  2644. # (news-33-euc: this had :TY=euc: --esr)
  2645. news-33-euc, 
  2646.     use=news-33, 
  2647. # (news-33-sjis: this had :TY=sjis: --esr)
  2648. news-33-sjis, 
  2649.     use=news-33, 
  2650. #
  2651. # (news-42: this had :TY=ascii: --esr)
  2652. news-42, 
  2653.     lines#42, use=news-unk, 
  2654. # (news-42-euc: this had :TY=euc: --esr)
  2655. news-42-euc, 
  2656.     use=news-42, 
  2657. # (news-42-sjis: this had :TY=sjis: --esr)
  2658. news-42-sjis, 
  2659.     use=news-42, 
  2660. #
  2661. #    NEWS-OS old termcap entry 
  2662. #
  2663. # (news-old-unk: this had :KB=news:TY=sjis: --esr)
  2664. news-old-unk|SONY NEWS vt100 emulator common entry, 
  2665.     am, xenl, 
  2666.     cols#80, vt#3, 
  2667.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
  2668.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  2669.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  2670.     home=\E[H, ht=^I, if=/usr/lib/tabset/vt100, kbs=^H, 
  2671.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  2672.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM, 
  2673.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
  2674.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  2675. #
  2676. # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
  2677. nwp512|news|nwp514|news40|vt100-bm|sony vt100 emulator 40 lines, 
  2678.     lines#40, 
  2679.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
  2680. #
  2681. # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
  2682. nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
  2683.     
  2684.     
  2685. s, 
  2686.     lines#42, 
  2687.     is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, use=news-old-unk, 
  2688. #
  2689. # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
  2690. nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines, 
  2691.     lines#40, 
  2692.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, use=news-old-unk, 
  2693. #
  2694. # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
  2695. nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines, 
  2696.     lines#31, 
  2697.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
  2698. #
  2699. # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
  2700. # also the alias vt100-bm.
  2701. nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|sony vt100 emulator 33 lines, 
  2702.     lines#33, 
  2703.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, use=news-old-unk, 
  2704. #
  2705. # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
  2706. nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|sony vt100 emulator 33 lines, 
  2707.     lines#31, 
  2708.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, use=news-old-unk, 
  2709. #
  2710. # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
  2711. news28|sony vt100 emulator 28 lines, 
  2712.     lines#28, 
  2713.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, use=news-old-unk, 
  2714. #
  2715. # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
  2716. news29|news28-a|sony vt100 emulator 29 lines, 
  2717.     lines#29, 
  2718.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, use=news-old-unk, 
  2719. #
  2720. # (news511: this had :TY=sjis: --esr)
  2721. nwp511|nwp-511|nwp-511 vt100, 
  2722.     am, xenl, 
  2723.     cols#80, lines#24, 
  2724.     clear=\E[;H\E[2J$<20/>, cuf1=\E[C, 
  2725.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M, 
  2726.     ed=\E[J$<30/>, el=\E[K$<3/>, 
  2727.     flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
  2728.     il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D, 
  2729.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
  2730.     kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H, 
  2731.     ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
  2732.     smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
  2733. # (news517: this had :TY=sjis:. --esr)
  2734. nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows, 
  2735.     eslok, hs, 
  2736.     cols#80, lines#30, 
  2737.     dsl=\E[1$~, fsl=\E[0$}, 
  2738.     is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  2739.     tsl=\E[1$}\E[;%df, 
  2740.     use=vt200, 
  2741. # (news517-w: this had :TY=sjis:. --esr)
  2742. nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows, 
  2743.     eslok, hs, 
  2744.     cols#132, lines#50, 
  2745.     dsl=\E[1$~, fsl=\E[0$}, 
  2746.     is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
  2747.     tsl=\E[1$}\E[;%df, 
  2748.     use=vt200, 
  2749.  
  2750. #### Common Desktop Environment
  2751. #
  2752.  
  2753. # This ships with Sun's CDE in Solaris 2.5
  2754. dtterm|CDE desktop terminal, 
  2755.     am, mir, msgr, xenl, xon, 
  2756.     colors#8, cols#80, it#8, lines#24, lm#0, pairs#64, 
  2757.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2758.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  2759.     clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
  2760.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2761.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2762.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2763.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  2764.     dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
  2765.     flash=\E[?5h$<200>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
  2766.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  2767.     invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, kbs=^H, 
  2768.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  2769.     kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
  2770.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  2771.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  2772.     kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
  2773.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  2774.     kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  2775.     kslt=\E[4~, nel=\EE, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, 
  2776.     rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, 
  2777.     rmul=\E[24m, sc=\E7, setab=\E[%p1%{40}%+%dm, 
  2778.     setaf=\E[%p1%{30}%+%dm, 
  2779.     sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  2780.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  2781.     smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
  2782.  
  2783. ### Non-Unix Consoles
  2784. #
  2785.  
  2786. # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
  2787. # a Unix-style environment used on OS/2.  (Note that the suffix makes some
  2788. # names longer than 14 characters, the nominal maximum).
  2789. #
  2790. # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
  2791. ansi-emx|ANSI.SYS color, 
  2792.     am, bce, eo, mir, msgr, xenl, xon, 
  2793.     colors#16, cols#80, it#8, lines#25, pairs#64, 
  2794.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  2795.     clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
  2796.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  2797.     dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
  2798.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
  2799.     kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
  2800.     kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
  2801.     kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
  2802.     knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m, 
  2803.     rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m, 
  2804.     rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm, 
  2805.     setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h, 
  2806.     smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m, 
  2807.     tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
  2808. ansi-color-2-emx|ANSI.SYS color 2, 
  2809.     am, bce, eo, mir, msgr, xenl, xon, 
  2810.     colors#16, cols#80, it#8, lines#25, pairs#64, 
  2811.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  2812.     clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
  2813.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  2814.     dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
  2815.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
  2816.     kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
  2817.     kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
  2818.     kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
  2819.     knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
  2820.     rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m, 
  2821.     rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm, 
  2822.     setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h, 
  2823.     smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m, 
  2824.     tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
  2825. ansi-color-3-emx|ANSI.SYS color 3, 
  2826.     am, bce, eo, mir, msgr, xenl, xon, 
  2827.     colors#16, cols#80, it#8, lines#25, pairs#64, 
  2828.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  2829.     clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
  2830.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  2831.     dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
  2832.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
  2833.     kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
  2834.     kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
  2835.     kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
  2836.     knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
  2837.     rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m, 
  2838.     rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm, 
  2839.     setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h, 
  2840.     smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m, 
  2841.     tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
  2842. mono-emx|stupid monochrome ansi terminal with only one kind of emphasis, 
  2843.     am, 
  2844.     cols#80, it#8, lines#24, 
  2845.     clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  2846.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  2847.     ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, 
  2848.     kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, 
  2849.     kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, 
  2850.     kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
  2851.     sgr0=\E[0m, 
  2852.  
  2853. # This entry fits the Windows NT console when the _POSIX_TERM environment
  2854. # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
  2855. # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
  2856. # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
  2857. # systems is not, and (surprise!) they match very well.
  2858. #
  2859. # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
  2860. # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
  2861. # are the installation instructions a pile of mind-numbing bureaucratese,
  2862. # but the termcap entry is actually broken and unusable as given; the :do:
  2863. # capability is misspelled "d".
  2864. #
  2865. # To use this, you need to a bunch of environment variables: 
  2866. #
  2867. # SET _POSIX_TERM=on
  2868. # SET TERM=ansi
  2869. # SET TERMCAP=location of termcap file in POSIX file format
  2870. # which is case-sensitive.
  2871. # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
  2872. # SET TMP=//C/TEMP
  2873. #
  2874. # Important note: setting the TMP environment variable in POSIX style renders
  2875. # it incompatible with a lot of other applications, including Visual C++. So
  2876. # you should have a separate command window just for vi. All the other
  2877. # variables may be permanently set in the Control Panel\System applet. 
  2878. #
  2879. # You can find out more about the restrictions of this facility at
  2880. # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
  2881. #
  2882. # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
  2883. ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode, 
  2884.     am, bw, msgr, 
  2885.     cols#80, it#8, lines#25, 
  2886.     bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  2887.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  2888.     home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V, 
  2889.     kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m, 
  2890.     ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m, 
  2891.  
  2892. ######## COMMON TERMINAL TYPES
  2893. #
  2894. # This section describes terminal classes and maker brands that are still
  2895. # quite common, but have proprietary command sets not blessed by ANSI.
  2896. #
  2897.  
  2898. #### Altos
  2899. #
  2900. # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
  2901. # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
  2902. # Acer has a web site at http://www.acer.com.
  2903. #
  2904. # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
  2905. # His comments suggest they were shipped with the system.
  2906. #
  2907.  
  2908. # (altos2: had extension capabilities
  2909. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  2910. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  2911. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  2912. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  2913. #    :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
  2914. #    :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
  2915. #    :HL=^AP\r:SP=\E[i:\
  2916. #    :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
  2917. #    :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
  2918. # Comparison with the k* capabilities makes it obvious that the c* things are
  2919. # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
  2920. # :sr: was given as a boolean-- esr)
  2921. altos2|alt2|altos-2|altos II, 
  2922.     cols#80, it#8, lines#24, xmc#0, 
  2923.     clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C, 
  2924.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl=\E[M, 
  2925.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
  2926.     if=/usr/share/tabset/vt100, il1=\E[L, ind=^J, 
  2927.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
  2928.     kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D, 
  2929.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r, 
  2930.     kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
  2931.     kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
  2932.     kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
  2933.     kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  2934.     kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r, 
  2935.     nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  2936.     smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
  2937. # (altos3: had extension capabilities
  2938. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  2939. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  2940. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  2941. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  2942. #    :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
  2943. #    :HL=^AP\r:SP=\E[i:\
  2944. #    :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
  2945. altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
  2946.     blink=\E[5p, ri=\EM, sgr0=\E[p, 
  2947.     use=altos2, 
  2948. altos4|alt4|altos-4|altos IV, 
  2949.     use=wy50, 
  2950. # (altos7: had extension capabilities:
  2951. #    :GG#0:GI=\EH8:GF=\EH7:\
  2952. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  2953. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  2954. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  2955. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  2956. # Comparison with the k* capabilities makes it obvious that the c* things are
  2957. # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
  2958. # also made this entry relative to adm12 in order to give it an <sgr>. The
  2959. # <invis> imported by use=adm+sgr may work, let me know. -- esr)
  2960. altos7|alt7|altos VII, 
  2961.     am, mir, 
  2962.     cols#80, lines#24, xmc#0, 
  2963.     acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt, 
  2964.     clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  2965.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  2966.     dim=\EGp, dl=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
  2967.     ind=^J, invis=\EG1, 
  2968.     is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r, 
  2969.     kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H, 
  2970.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r, 
  2971.     kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
  2972.     kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
  2973.     kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
  2974.     kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  2975.     kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r, 
  2976.     knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej, 
  2977.     rmir=\Er, smir=\Eq, 
  2978.     use=adm+sgr, 
  2979. altos7pc|alt7pc|altos PC VII, 
  2980.     kend=\ET, use=altos7, 
  2981.  
  2982. #### Hewlett-Packard (hp)
  2983. #
  2984. #    Hewlett-Packard
  2985. #    8000 Foothills Blvd 
  2986. #    Roseville, CA 95747
  2987. #    Vox: 1-(916)-785-4363    (Technical response line for VDTs)
  2988. #         1-(800)-633-3600    (General customer support)
  2989. #
  2990.  
  2991. # Generic HP terminal - this should (hopefully) work on any HP terminal.
  2992. hpgeneric|hp|hewlett-packard generic terminal, 
  2993.     am, da, db, mir, xhp, 
  2994.     cols#80, lines#24, lm#0, vt#6, 
  2995.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  2996.     cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM, 
  2997.     ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
  2998.     ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
  2999.     sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
  3000.     vpa=\E&a%p1%dY, 
  3001.  
  3002. hp110|hewlett-packard model 110 portable, 
  3003.     lines#16, use=hpgeneric, 
  3004.  
  3005. hp+pfk+cr|hp function keys with CR, 
  3006.     kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
  3007.     kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
  3008.  
  3009. hp+pfk-cr|hp function keys w/o CR, 
  3010.     kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
  3011.     kf8=\Ew, 
  3012.  
  3013. # The hp2621s use the same keys for the arrows and function keys, 
  3014. # but not separate escape sequences. These definitions allow the 
  3015. # user to use those keys as arrow keys rather than as function 
  3016. # keys.
  3017. hp+pfk+arrows|hp alternate arrow definitions, 
  3018.     kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@, 
  3019.     kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r, 
  3020.     kll=\Eq\r, kri=\Es\r, 
  3021.  
  3022. hp+arrows|hp arrow definitions, 
  3023.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
  3024.     kind=\ES, kll=\EF, kri=\ET, 
  3025.  
  3026. # Generic stuff from the HP 262x series
  3027. #
  3028. hp262x|HP 262x terminals, 
  3029.     xhp, 
  3030.     blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES, 
  3031.     invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  3032.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
  3033.     kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
  3034.     krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
  3035.     sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%c, 
  3036.     sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
  3037.  
  3038. # Note: no <home> on HPs since that homes to top of memory, not screen.
  3039. # Due to severe 2621 braindamage, the only way to get the arrow keys to
  3040. # transmit anything at all is to turn on the function key labels
  3041. # with <smkx>, and even then the user has to hold down shift!
  3042. # The default 2621 turns off the labels except when it has to to 
  3043. # enable the function keys. If your installation prefers labels 
  3044. # on all the time, or off all the time (at the "expense" of the 
  3045. # function keys), use 2621-nl or 2621-wl.
  3046. # Note: there are newer ROMs for 2621's that allow you to set 
  3047. # strap A so the regular arrow keys xmit \EA, etc, as with the 
  3048. # 2645. However, even with this strap set, the terminal stops 
  3049. # xmitting if you reset it, until you unset and reset the strap!
  3050. # Since there is no way to set/unset the strap with an escape 
  3051. # sequence, we don't use it in the default.
  3052. # If you like, you can use 2621-ba (brain-damaged arrow keys).
  3053. hp2621-ba|2621 w/new rom and strap A set, 
  3054.     rmkx@, smkx@, use=hp+arrows, 
  3055.     use=hp2621, 
  3056.  
  3057. # hp2621 with function labels. Most of the time they are off,
  3058. # but inside vi, the function key labels appear. You have to
  3059. # hold down shift to get them to xmit.
  3060. hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
  3061.     is2=\E&jA\r, rmkx=\E&jA, 
  3062.     use=hp2621-fl, 
  3063. hp2621-fl|hp 2621, 
  3064.     xhp@, xon, 
  3065.     pb#19200, 
  3066.     cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>, 
  3067.     ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@, 
  3068.     sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD, 
  3069.     use=hp+pfk+cr, use=hpgeneric, 
  3070.  
  3071. # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
  3072. hp2621p|hp 2621 with printer, 
  3073.     mc4=\E&p13C, mc5=\E&p11C, use=hp2621, 
  3074.  
  3075. hp2621p-a|hp2621p with fn as arrows, 
  3076.     use=hp+pfk+arrows, use=hp2621p, 
  3077.  
  3078. # hp2621 with k45 keyboard
  3079. hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard, 
  3080.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  3081.     khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, 
  3082.     use=hp2621, 
  3083.  
  3084. # 2621 using all 48 lines of memory, only 24 visible at any time.  
  3085. hp2621-48|48 line 2621, 
  3086.     lines#48, 
  3087.     cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, use=hp2621, 
  3088.  
  3089. # 2621 with no labels ever. Also prevents vi delays on escape.
  3090. hp2621-nl|hp 2621 with no labels, 
  3091.     kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, use=hp2621-fl, 
  3092.  
  3093. # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
  3094. # (wrong).
  3095. #
  3096. hp2621-nt|hp 2621 w/no tabs, 
  3097.     ht@, use=hp2621, 
  3098.  
  3099. # Hp 2624 B with 4 or 10 pages of memory.
  3100. # Some assumptions are made with this entry. These settings are 
  3101. # NOT set up by the initialization strings.
  3102. # Port Configuration
  3103. #     RecvPace=Xon/Xoff
  3104. #     XmitPace=Xon/Xoff
  3105. #     StripNulDel=Yes
  3106. # Terminal Configuration
  3107. #     InhHndShk=Yes
  3108. #     InhDC2=Yes
  3109. #     XmitFnctn(A)=No
  3110. #     InhEolWrp=No
  3111. # Note: the 2624 DOES have a true <home>, believe it or not!
  3112. # The 2624 has an "error line" to which messages can be sent. 
  3113. # This is CLOSE to what is expected for a "status line". However,
  3114. # after a message is sent to the "error line", the next carriage 
  3115. # return is EATEN and the "error line" is turned back off again! 
  3116. # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
  3117. # This entry supports emacs (and any other program that uses raw 
  3118. # mode) at 4800 baud and less. I couldn't get the padding right 
  3119. # for 9600.
  3120. #
  3121. # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
  3122. hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B, 
  3123.     da, db, 
  3124.     lm#96, 
  3125.     flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, use=hp+labels, use=scrhp, 
  3126.  
  3127. # This hp2626 entry does not use any of the fancy windowing stuff 
  3128. # of the 2626.
  3129. # Indeed, terminfo does not yet handle such stuff. Since changing 
  3130. # any window clears memory, it is probably not possible to use 
  3131. # this for screen opt.
  3132. # ed is incredibly slow most of the time - I am guessing at the 
  3133. # exact padding. Since the terminal uses xoff/xon this is intended 
  3134. # only for cost computation, so that the terminal will prefer el 
  3135. # or even dl1 which is probably faster!
  3136. # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
  3137. # extra slow on the last line of the window. 
  3138. # The padding probably should be changed.
  3139. #
  3140. hp2626|hp2626a|hp2626p|hp 2626, 
  3141.     da, db, 
  3142.     lm#0, pb#19200, 
  3143.     ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
  3144.     is2=\E&j@\r, rin=\E&r%p1%dU, 
  3145.     use=hp+pfk+cr, use=hp+labels, use=scrhp, 
  3146.  
  3147. # This entry is for sysline. It allocates a 23 line window with 
  3148. # a 115 line workspace for regular use, and a 1 line window for 
  3149. # the status line.
  3150. # This assumes port 2 is being used.
  3151. # Turn off horizontal line, Create ws #1 with 115 lines,
  3152. # Create ws #2 with 1 line, Create window #1 lines 1-23,
  3153. # Create window #2 lines 24-24, Attach cursor to workspace #1.
  3154. # Note that this clears the tabs so it must be done by tset before
  3155. # it sets the tabs.
  3156. #
  3157. hp2626-s|hp 2626 using only 23 lines, 
  3158.     eslok, hs, 
  3159.     lines#23, 
  3160.     fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
  3161.     is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
  3162.     tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, 
  3163.     use=hp2626, 
  3164. # Force terminal back to 24 lines after being 23.
  3165. hp2626-ns|hp 2626 using all 24 lines, 
  3166.     is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, use=hp2626, 
  3167. # Various entries useful for small windows on 2626.
  3168. hp2626-12|hewlett-packard 2626 12 lines, 
  3169.     lines#12, use=hp2626, 
  3170. hp2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
  3171.     cols#40, lines#12, use=hp2626, 
  3172. hp2626-x40|hewlett-packard 2626 40 columns, 
  3173.     cols#40, use=hp2626, 
  3174. hp2626-12-s|hewlett-packard 2626 11 lines plus status, 
  3175.     lines#11, use=hp2626-s, 
  3176.  
  3177. #
  3178. # hp2627 color tubes from University of Wisconsin
  3179. #
  3180. hp2627a-rev|hp 2627 with reverse video colors, 
  3181.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  3182.     is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
  3183.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@, 
  3184.     smul=\E&dD\E&v1S, 
  3185.     use=hp2621-nl, 
  3186. hp2627a|hp 2627 color terminal with no labels, 
  3187.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  3188.     is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
  3189.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
  3190.     rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, 
  3191.     use=hp2621-nl, 
  3192. hp2627c|hp 2627 color (cyan) terminal with no labels, 
  3193.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  3194.     is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
  3195.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  3196.     use=hp2627a, 
  3197.  
  3198. # hp2640a doesn't have the Y cursor addressing feature, and C is 
  3199. # memory relative instead of screen relative, as we need.
  3200. #
  3201. hp2640a|hp 2640a, 
  3202.     cup@, rmkx@, smkx@, use=hp2645, 
  3203.  
  3204. hp2640b|hp2644a|hp 264x series, 
  3205.     rmkx@, smkx@, use=hp2645, 
  3206.  
  3207. # (hp2641a: removed unknown :gu: -- esr)
  3208. hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry, 
  3209.     am, da, db, mir, xhp, 
  3210.     cols#80, lines#24, 
  3211.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  3212.     cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM, 
  3213.     ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I, 
  3214.     if=/usr/share/tabset/std, il1=\EL, ind=^J, 
  3215.     is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  3216.     rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB, 
  3217.     vpa=\E&a%p1%2dY, 
  3218.  
  3219. # This terminal should be used at 4800 baud or less. It needs padding for
  3220. # plain characters at 9600, I guessed at an appropriate cr delay.  It really
  3221. # wants ^E/^F handshaking, but that doesn't work well even if you write
  3222. # software to support it.
  3223. hp2645|hp45|HP 2645 series, 
  3224.     pb#9600, 
  3225.     blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED, 
  3226.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
  3227.     ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
  3228.     kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
  3229.     rmkx=\E&s0A, 
  3230.     sgr=\E&d%'@'%?%p1%t%'B'%|%;%?%p2%t%'D'%|%;%?%p3%t%'B'%|%;%?%p4%t%'A'%|%;%?%p5%t%'H'%|%;%?%p6%t%'B'%|%;%c, 
  3231.     sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, 
  3232.     use=hpgeneric, 
  3233. # You should use this terminal at 4800 baud or less.
  3234. hp2648|hp2648a|HP 2648a graphics terminal, 
  3235.     clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
  3236.     dch1=\EP$<7>, ip=$<5>, 
  3237.     use=hp2645, 
  3238.  
  3239. # The HP 150 terminal is a fairly vanilla HP terminal, with the 
  3240. # clreol standout problem. It also has graphics capabilities and 
  3241. # a touch screen, which we don't describe here.
  3242. hp150|hewlett packard Model 150, 
  3243.     use=hp2622, 
  3244.  
  3245. # HP 2382a terminals, "the little ones." They don't have any 
  3246. # alternate character set support and sending out ^N/^O will 
  3247. # leave the screen blank.
  3248. hp2382a|hp2382|hewlett packard 2382a, 
  3249.     da, db, 
  3250.     lh#1, lm#48, 
  3251.     acsc@, 
  3252.     pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
  3253.     rmacs@, 
  3254.     sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c, 
  3255.     sgr0=\E&d@, smacs@, 
  3256.     use=hp+labels, use=scrhp, 
  3257.  
  3258. hp2621-a|hp2621a-a|hp2621 with fn as arrows, 
  3259.     use=hp+pfk+arrows, use=hp2621-fl, 
  3260.  
  3261. # newer hewlett packard terminals
  3262.  
  3263. newhpkeyboard|generic entry for HP extended keyboard, 
  3264.     kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  3265.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
  3266.     kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV, 
  3267.     kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A, 
  3268.     use=hp+pfk-cr, 
  3269.  
  3270. newhp|generic entry for new hewlett packard terminals, 
  3271.     am, bw, mir, xhp, xon, 
  3272.     cols#80, lines#24, pb#4800, 
  3273.     acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x., 
  3274.     bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
  3275.     cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
  3276.     dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
  3277.     invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J, 
  3278.     pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
  3279.     pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
  3280.     pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
  3281.     rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
  3282.     sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%'@'%+%e%'S'%;%e%?%ga%t%ga%'@'%+%e%'@'%;%;%c%?%p9%t\016%e\017%;, 
  3283.     sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
  3284.     tbc=\E3, 
  3285.     use=newhpkeyboard, 
  3286.  
  3287. memhp|memory relative addressing for new HP ttys, 
  3288.     vt#6, 
  3289.     clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, 
  3290.     cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, 
  3291.     home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r, 
  3292.     mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp, 
  3293.  
  3294. scrhp|screen relative addressing for new HP ttys, 
  3295.     clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
  3296.     cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
  3297.     cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
  3298.     home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
  3299.     mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp, 
  3300.  
  3301. # (hp+labels: added label values from a BRL termcap -- esr)
  3302. hp+labels|"standard" label info for new HP ttys, 
  3303.     lh#2, lw#8, nlab#8, 
  3304.     lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
  3305.     pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
  3306.     rmln=\E&j@, smln=\E&jB, 
  3307.  
  3308. hp+printer|"standard" printer info for HP ttys, 
  3309.     ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C, 
  3310.  
  3311.  
  3312. # The new hp2621b is kind of a cross between the old 2621 and the
  3313. # new 262x series of machines. It has dip-switched options. 
  3314. # The firmware has a bug in it such that if you give it a null 
  3315. # length label, the following character is eaten!
  3316. hp2621b|hp 2621b with old style keyboard, 
  3317.     lh#1, lm#48, lw#8, nlab#8, 
  3318.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
  3319.     kind=\ET, kll=\EF, kri=\ES, 
  3320.     pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%'o'%p1%+%c\r, 
  3321.     smln=\E&jB, 
  3322.     use=hp2621, 
  3323.  
  3324. hp2621b-p|hp 2621b with printer, 
  3325.     use=hp+printer, use=hp2621b, 
  3326.  
  3327. # hp2621b - new 2621b with new extended keyboard
  3328. # these are closer to the new 26xx series than the other 2621b
  3329. hp2621b-kx|hp 2621b with extended keyboard, 
  3330.     use=newhpkeyboard, use=hp2621b, 
  3331.  
  3332. hp2621b-kx-p|hp 2621b with new keyboard & printer, 
  3333.     use=hp+printer, use=hp2621b-kx, 
  3334.  
  3335. # Some assumptions are made in the following entries.
  3336. # These settings are NOT set up by the initialization strings.
  3337. #    Port Configuration
  3338. # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff    StripNulDel=Yes
  3339. #    Terminal Configuration
  3340. # InhHndShk(G)=Yes    InhDC2(H)=Yes
  3341. # XmitFnctn(A)=No        InhEolWrp=No
  3342. #
  3343. # Hp 2622a & hp2623a display and graphics terminals
  3344. #
  3345. hp2622|hp2622a|hp 2622, 
  3346.     da, db, 
  3347.     lm#0, pb#19200, 
  3348.     is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp, 
  3349.  
  3350. # The 2623 is a 2622 with extra graphics hardware.
  3351. hp2623|hp2623a|hp 2623, 
  3352.     use=hp2622, 
  3353.  
  3354. hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
  3355.     use=hp+printer, use=hp2624, 
  3356.  
  3357. # The hewlett packard B can have an optional extra 6 pages of memory.
  3358. hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
  3359.     lm#240, use=hp2624, 
  3360.  
  3361. hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
  3362.     lm#240, use=hp2624b-p, 
  3363.  
  3364. # Color manipulations for HP terminals
  3365. hp+color|hp with colors, 
  3366.     ccc, 
  3367.     colors#16, ncv#17, pairs#7, 
  3368.     initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI, 
  3369.     oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
  3370.     op=\E&v0S, scp=\E&v%p1%dS, 
  3371.  
  3372. # <is2> sets the screen to be 80 columns wide
  3373. hp2397a|hp2397|hewlett packard 2397A color terminal, 
  3374.     is2=\E&w6f80X, 
  3375.     use=memhp, use=hp+labels, use=hp+color, 
  3376.  
  3377. #  HP 700/44 Setup parameters:  
  3378. # Terminal Mode        HP-PCterm
  3379. # Inhibit Auto Wrap    NO
  3380. # Status Line        Host Writable
  3381. # PC Character Set    YES
  3382. # Twenty-Five Line Mode    YES
  3383. # XON/XOFF        @128 or 64 (sc)
  3384. # Keycode Mode         NO   or YES (sc)
  3385. # Backspace Key        BS or BS/DEL
  3386. #
  3387. # <is2>     sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
  3388. # \E\\? does not turn off keycode mode
  3389. # <smsc>    sets alternate start/stop; keycode on
  3390. hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
  3391.     am, eo, xenl, xon, 
  3392.     cols#80, lines#25, 
  3393.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  3394.     bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
  3395.     cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  3396.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  3397.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
  3398.     ind=^J, 
  3399.     is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
  3400.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  3401.     kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
  3402.     kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, 
  3403.     kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~, 
  3404.     kpp=\E[5~, rmam=\E[?7l, 
  3405.     rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m, 
  3406.     rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
  3407.     smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
  3408.     smul=\E[4m, xoffc=g, xonc=e, 
  3409. #
  3410. # (hp2392: copied <rmir> here from hpex -- esr)
  3411. hp2392|239x series, 
  3412.     cols#80, 
  3413.     cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r, 
  3414.     kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, 
  3415.     kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, 
  3416.     rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, 
  3417.     use=hpsub, 
  3418.  
  3419. hpsub|hp terminals -- capability subset, 
  3420.     am, da, db, mir, xhp, xon, 
  3421.     lines#24, 
  3422.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  3423.     cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
  3424.     ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
  3425.     is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
  3426.     kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@, 
  3427.     sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, 
  3428.  
  3429. # hpex:
  3430. #    May be used for most 24 x 80 hp terminals,
  3431. # but has no padding added, so may allow runover in some terminals at high 
  3432. # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
  3433. # hp98x5 terminal emulators or hp98x6 consoles.  
  3434. #     Adds xy-cursor addressing, vertical cursor addressing, home, 
  3435. # last line, and underline capabilities.
  3436. #
  3437. # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
  3438. # moved <rmir> here from hpsub -- esr)
  3439. hpex|hp extended capabilites, 
  3440.     cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H, 
  3441.     kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ, 
  3442.     smul=\E&dD, vpa=\E&a%p1%dY, 
  3443.     use=hpsub, 
  3444.  
  3445. # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
  3446. hp2|hpex2|hewlett-packard extended capabilities newer version, 
  3447.     am, da, db, mir, xhp, 
  3448.     cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0, 
  3449.     bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
  3450.     cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
  3451.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
  3452.     il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
  3453.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
  3454.     ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
  3455.     kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
  3456.     kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
  3457.     krmir=\ER, ktbc=\E3, meml=\El, memu=\Em, 
  3458.     pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
  3459.     pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
  3460.     pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
  3461.     pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
  3462.     rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
  3463.     sgr=\E&d%?%p7%t%'s'%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%'@'%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
  3464.     sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
  3465.     smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  3466.  
  3467. # HP 236 console
  3468. # From: <ddavis@ic.berkeley.edu>
  3469. hp236|hp236 internal terminal emulator, 
  3470.     am, 
  3471.     cols#80, lines#24, 
  3472.     clear=\EF, cnorm=\EDE, cub1=^H, 
  3473.     cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB, 
  3474.     dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI, 
  3475.     sgr0=\ECI, smso=\EBI, 
  3476.  
  3477. # This works on a hp300 console running Utah 4.3 BSD
  3478. # From: Craig Leres <leres@okeeffe.berkeley.edu>
  3479. hp300h|HP Catseye console, 
  3480.     am, da, db, mir, xhp, 
  3481.     cols#128, lines#51, lm#0, xmc#0, 
  3482.     bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
  3483.     cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
  3484.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
  3485.     if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H, 
  3486.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
  3487.     rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, 
  3488.     smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
  3489.     vpa=\E&a%p1%dY, 
  3490. # From: Greg Couch <gregc@ernie.berkeley.edu>
  3491. hp9837|hp98720|hp98721|HP 9000/300 workstations, 
  3492.     am, da, db, mir, xhp, 
  3493.     cols#128, it#8, lines#46, lm#0, 
  3494.     bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB, 
  3495.     cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
  3496.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
  3497.     il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED, 
  3498.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
  3499.     ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU, 
  3500.     kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, 
  3501.     sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
  3502.     tbc=\E3, vpa=\E&a%p1%dY, 
  3503. # HP 9845 desktop computer from BRL
  3504. # (hp9845: removed unknown capability :gu: -- esr)
  3505. hp9845|HP 9845, 
  3506.     am, da, db, eo, mir, xhp, 
  3507.     cols#80, lines#21, 
  3508.     clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, 
  3509.     dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, 
  3510.     if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@, 
  3511.     smir=\EQ, smso=\E&dB, 
  3512. # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
  3513. # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
  3514. # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
  3515. hp98550|hp98550a|HP 9000 Series 300 color console, 
  3516.     am, da, db, mir, xhp, 
  3517.     cols#128, it#8, lines#49, lm#0, 
  3518.     acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR, 
  3519.     clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  3520.     cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
  3521.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
  3522.     if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds, 
  3523.     kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  3524.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
  3525.     kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
  3526.     khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
  3527.     knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, 
  3528.     rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
  3529.     sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ, 
  3530.     smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  3531. # From: Victor Duchovni <vic@fine.princeton.edu>
  3532. # (hp700-wy: removed obsolete ":nl=^J:";
  3533. # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
  3534. hp700-wy|HP700/41 emulating wyse30, 
  3535.     am, bw, mir, msgr, 
  3536.     cols#80, it#8, lines#24, xmc#1, 
  3537.     cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
  3538.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  3539.     dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1, 
  3540.     if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>, 
  3541.     is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI, 
  3542.     kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY, 
  3543.     kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, 
  3544.     ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
  3545.     sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
  3546.     smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
  3547. # (hp70092: added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
  3548. hp70092|hp70092a|hp70092A|HP 700/92, 
  3549.     am, da, db, xhp, 
  3550.     cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
  3551.     acsc=, bel=^G, blink=\E&dA, bold=\E&dB, cbt=\Ei, 
  3552.     clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  3553.     cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
  3554.     dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
  3555.     kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  3556.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
  3557.     kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
  3558.     khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
  3559.     knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dB, 
  3560.     ri=\ET, rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, 
  3561.     rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smacs=^N, smir=\EQ, 
  3562.     smkx=\E&s1A, smln=\E&jB, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
  3563.     vpa=\E&a%p1%dY, 
  3564.  
  3565. bobcat|sbobcat|HP 9000 model 300 console, 
  3566.     am, da, db, mir, xhp, 
  3567.     cols#128, it#8, lines#47, xmc#0, 
  3568.     cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  3569.     cup=\E&a%dy%dC$<6/>, cuu1=\EA, dch1=\EP, dl1=\EM$<10*/>, 
  3570.     ed=\EJ, el=\EK, hpa=\E&a%dC$<6/>, ht=^I, il1=\EL$<10*/>, 
  3571.     ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  3572.     khome=\Eh, nel=^M^J, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, 
  3573.     rmul=\E&d@, sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&dB, 
  3574.     smul=\E&dD, vpa=\E&a%dY$<6/>, 
  3575. gator-t|HP 9000 model 237 emulating extra-tall AAA, 
  3576.     lines#94, use=gator, 
  3577. gator|HP 9000 model 237 emulating AAA, 
  3578.     bw, km, mir, ul, 
  3579.     cols#128, it#8, lines#47, 
  3580.     bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
  3581.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, 
  3582.     dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>, 
  3583.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, 
  3584.     ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
  3585.     il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  3586.     rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
  3587.     rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  3588. gator-52|HP 9000 model 237 emulating VT52, 
  3589.     cols#128, lines#47, use=vt52, 
  3590. gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
  3591.     lines#94, use=gator-52, 
  3592.  
  3593. #### Honeywell-Bull
  3594. #
  3595. # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
  3596. #
  3597.  
  3598. # Honeywell Bull terminal.  Its cursor and function keys send single
  3599. # control characters and it has standout/underline glitch.  Most programs
  3600. # do not like these features/bugs.  Visual bell is realized by flashing the
  3601. # "keyboard locked" LED.
  3602. dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
  3603.     cols#80, lines#25, 
  3604.     clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
  3605.     cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
  3606.     flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y, 
  3607.     kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J, 
  3608. dku7003|Honeywell Bull DKU 7003 all features described, 
  3609.     msgr, 
  3610.     xmc#1, 
  3611.     blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m, 
  3612.     rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  3613.     use=dku7003-dumb, 
  3614.  
  3615. #### Lear-Siegler (adm)
  3616. #
  3617. # These guys are long since out of the terminals business, but
  3618. # in 1995 many current terminals still have an adm type as one of their
  3619. # emulations (usually their stupidest, and usually labeled adm3, though
  3620. # these `adm3' emulations normally have adm3a+ capabilities).
  3621. #
  3622. # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
  3623. # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
  3624. # was being held to ground would trigger a send of the top line on the screen.
  3625. # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
  3626. # hanging in the air.
  3627. #
  3628.  
  3629. adm1a|adm1|lsi adm1a, 
  3630.     am, 
  3631.     cols#80, lines#24, 
  3632.     bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3633.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
  3634.     ind=^J, 
  3635. adm2|lsi adm2, 
  3636.     am, 
  3637.     cols#80, lines#24, 
  3638.     bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3639.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  3640.     dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
  3641.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  3642. # (adm3: removed obsolete ":ma=^K^P:" -- esr)
  3643. adm3|lsi adm3, 
  3644.     am, 
  3645.     cols#80, lines#24, 
  3646.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  3647. # The following ADM-3A switch settings are assumed for normal operation:
  3648. #    SPACE        U/L_DISP    CLR_SCRN    24_LINE
  3649. #    CUR_CTL        LC_EN        AUTO_NL        FDX
  3650. # Other switches may be set for operator convenience or communication
  3651. # requirements.  I recommend
  3652. #    DISABLE_KB_LOCK    LOCAL_OFF    103        202_OFF
  3653. #    ETX_OFF        EOT_OFF
  3654. # Most of these terminals required an option ROM to support lower case display.
  3655. # Open the case and look at the motherboard; if you see an open 24-pin DIP
  3656. # socket, you may be out of luck.
  3657. #
  3658. # (adm3a: some capabilities merged in from BRl entry -- esr)
  3659. adm3a|lsi adm3a, 
  3660.     am, 
  3661.     cols#80, lines#24, 
  3662.     bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3663.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
  3664.     ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rs1=^N, 
  3665. adm3a+|adm3a plus, 
  3666.     kbs=^H, use=adm3a, 
  3667. # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
  3668. adm5|lsi adm5, 
  3669.     xmc#1, 
  3670.     bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^, 
  3671.     rmso=\EG, smso=\EG, 
  3672.     use=adm3a+, 
  3673. # A lot of terminals other than adm11s use these.  Wherever you see
  3674. # use=adm+sgr with some of its capabilities disabled, try the
  3675. # disabled ones.  They may well work but not have been documented or
  3676. # expressed in the using entry.  We'd like to cook up an <sgr> but the
  3677. # <rmacs>/<smacs> sequences of the using entries vary too much.
  3678. adm+sgr|adm style highlight capabilities, 
  3679.     invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
  3680.     smso=\EG4, smul=\EG8, 
  3681. # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
  3682. # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
  3683. # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
  3684. # be ^Z, according to his entry.
  3685. # (adm11: <smul>=\EG4 was obviously erroneous because it also said
  3686. # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
  3687. adm11|LSI ADM-11, 
  3688.     am, hs, 
  3689.     cols#80, lines#24, 
  3690.     bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, cud1=^J, 
  3691.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  3692.     dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, kbs=^H, 
  3693.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf2=^AA\r, 
  3694.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  3695.     kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E), 
  3696.     use=adm+sgr, 
  3697. # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
  3698. # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
  3699. # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
  3700. # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
  3701. # via BRL.  That entry asserted <xmc#1>, but I've left that out because 
  3702. # neither earlier nor later ADMSs have it -- esr)
  3703. adm12|lsi adm12, 
  3704.     am, mir, 
  3705.     cols#80, it#8, lines#24, 
  3706.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3707.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  3708.     dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
  3709.     is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1, 
  3710.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
  3711.     kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
  3712.     kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0, 
  3713.     use=adm+sgr, 
  3714. # (adm20: removed obsolete ":kn#7:" -- esr)
  3715. adm20|lear siegler adm20, 
  3716.     am, 
  3717.     cols#80, it#8, lines#24, 
  3718.     bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
  3719.     cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW, 
  3720.     dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
  3721.     kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, 
  3722.     sgr0=\E(, smso=\E), 
  3723. adm21|lear siegler adm21, 
  3724.     xmc#1, 
  3725.     bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET, 
  3726.     ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H, 
  3727.     kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  3728.     use=adm+sgr, use=adm3a, 
  3729. # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
  3730. # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
  3731. # removed bogus-looking \200 from before <cup>. -- esr)
  3732. adm22|lsi adm22, 
  3733.     am, 
  3734.     cols#80, lines#24, 
  3735.     bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3736.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  3737.     dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
  3738.     is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0, 
  3739.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
  3740.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  3741.     kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
  3742.     lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E), 
  3743. # ADM 31 DIP Switches
  3744. #
  3745. # This information comes from two versions of the manual for the
  3746. # Lear-Siegler ADM 31.
  3747. #
  3748. # Main board:
  3749. #                  rear of case
  3750. #   +-||||-------------------------------------+
  3751. #   + S1S2                              ||S    +
  3752. #   +                                   ||3    +
  3753. #   +                                          +
  3754. #   +                                ||S       +
  3755. #   +                                ||4       +
  3756. #   +                                          +
  3757. #   +                                          +
  3758. #   +                                          +
  3759. #   +                                          +
  3760. #   +                                          +
  3761. # +-+                                          +-+
  3762. # +                                              +
  3763. # +                               S5 S6 S7       +   
  3764. # +                               == == ==       +
  3765. # +----------------------------------------------+
  3766. #            front of case (keyboard)
  3767. #
  3768. #  S1 - Data Rate - Modem
  3769. #  S2 - Data Rate - Printer
  3770. # ------------------------
  3771. # Data Rate   Setting
  3772. # -------------------
  3773. # 50          0 0 0 0
  3774. # 75          1 0 0 0
  3775. # 110         0 1 0 0
  3776. # 134.5       1 1 0 0
  3777. # 150         0 0 1 0
  3778. # 300         1 0 1 0
  3779. # 600         0 1 1 0
  3780. # 1200        1 1 1 0
  3781. # 1800        0 0 0 1
  3782. # 2000        1 0 0 1
  3783. # 2400        0 1 0 1
  3784. # 3600        1 1 0 1
  3785. # 4800        0 0 1 1
  3786. # 7200        1 0 1 1
  3787. # 9600        0 1 1 1
  3788. # x           1 1 1 1
  3789. #
  3790. # S3 - Interface/Printer/Attributes
  3791. # ---------------------------------
  3792. # Printer Busy Control
  3793. # sw1   sw2   sw3
  3794. # ---------------
  3795. # off   off   off   Busy not active, CD disabled
  3796. # off   off   on    Busy not active, CD enabled
  3797. # off   on    off   Busy active on J5-20, CD disabled
  3798. # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
  3799. # on    off   on    Busy active on J5-19, CD enabled
  3800. #
  3801. # sw4   Used in conjuction with S4 for comm interface control - Fact 0
  3802. #
  3803. # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
  3804. #
  3805. # sw6   ON enables printer BUSY active LOW - Factory Setting
  3806. #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
  3807. #
  3808. # sw7   ON - steady cursor - Factory Setting
  3809. #       OFF - blinking cursor
  3810. #
  3811. # sw8   ON causes selected attribute character to be displayed
  3812. #       OFF causes SPACE to be displayed instead - Factory Setting
  3813. #
  3814. # S4 - Interface
  3815. # --------------
  3816. # Modem Interface
  3817. # S3    S4    S4    S4    S4
  3818. # sw4   sw1   sw2   sw3   sw4
  3819. # ---------------------------
  3820. # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
  3821. #                               Current Loop disabled - Factory Setting
  3822. # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
  3823. #                               disabled
  3824. # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
  3825. #                               Current Loop Disabled
  3826. #
  3827. # sw5   ON disables dot stretching mode - Factory Setting
  3828. #       OFF enables dot stretching mode
  3829. # sw6   ON enables blanking function
  3830. #       OFF enables underline function - Factory Setting
  3831. # sw7   ON causes NULLS to be displayed as NULLS
  3832. #       OFF causes NULLS to be displayed as SPACES - Factory Setting
  3833. #
  3834. # S5 - Word Structure
  3835. # -------------------
  3836. # sw1   ON enables BREAK key - Factory Setting
  3837. #       OFF disables BREAK key
  3838. # sw2   ON selects 50Hz monitor refresh rate
  3839. #       OFF selects 60Hz monitor refresh rate - Factory Setting
  3840. #
  3841. # Modem Port Selection
  3842. # sw3   sw4   sw5
  3843. # ---------------
  3844. # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
  3845. # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
  3846. # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
  3847. # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
  3848. # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
  3849. # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
  3850. # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
  3851. # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
  3852. #
  3853. # sw6   ON  sends bit 8 a 1 (mark)
  3854. #       OFF sends bit 8 as 0 (space) - Factory Setting
  3855. # sw7   ON  selects Block Mode
  3856. #       OFF selects Conversation Mode - Factory Setting
  3857. # sw8   ON  selects Full Duplex operation
  3858. #       OFF selects Half Duplex operation - Factory Setting
  3859. #
  3860. # S6 - Printer
  3861. # ------------
  3862. # sw1, sw2, sw6, sw7   Reserved - Factory 0
  3863. #
  3864. # Printer Port Selection
  3865. # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
  3866. #
  3867. # sw8   ON   enables Printer Port
  3868. #       OFF disables Printer Port - Factory Setting
  3869. #
  3870. # S7 - Polling Address
  3871. # --------------------
  3872. # sw1-7 Establish ASCII character which designates terminal polling address
  3873. #       ON  = logic 0
  3874. #       OFF = logic 1 - Factory Setting
  3875. # sw8   ON   enables Polling Option
  3876. #       OFF disables Polling Option - Factory Setting
  3877. #
  3878. #
  3879. # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
  3880. #
  3881. # This adm31 entry uses underline as the standout mode.
  3882. # If the adm31 gives you trouble with standout mode, check the DIP switch in
  3883. # position 6, bank @c11, 25% from back end of the circuit board.  Should be
  3884. # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
  3885. # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
  3886. adm31|lsi adm31 with sw6 set for underline mode, 
  3887.     am, mir, 
  3888.     cols#80, lines#24, 
  3889.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3890.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  3891.     dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0, 
  3892.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
  3893.     kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
  3894.     kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0, 
  3895.     rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1, 
  3896. adm31-old|o31|old adm31, 
  3897.     rmul@, smso=\EG4, smul@, use=adm31, 
  3898. # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
  3899. adm36|LSI ADM36, 
  3900.     if=/usr/lib/tabset/vt100, 
  3901.     is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, use=vt100, 
  3902. # (adm42: removed obsolete ":ma=^K^P:" -- esr)
  3903. adm42|lsi adm42, 
  3904.     am, 
  3905.     cols#80, lines#24, 
  3906.     bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  3907.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  3908.     cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I, 
  3909.     il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J, 
  3910.     kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@, 
  3911.     smir=\Eq, smul@, 
  3912.     use=adm+sgr, 
  3913. # The following termcap for the Lear Siegler ADM-42 leaves the 
  3914. # "system line" at the bottom of the screen blank (for those who 
  3915. # find it distracting otherwise)
  3916. adm42-ns|lsi adm-42 with no system line, 
  3917.     cbt=\EI\EF \011, clear=\E;\EF \011, 
  3918.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
  3919.     dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
  3920.     el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
  3921.     smir=\Eq\EF \011, 
  3922.     use=adm42, 
  3923. # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
  3924. # The insert mode of this terminal is commented out because it's broken for our
  3925. # purposes in that it will shift the position of every character on the page,
  3926. # not just the cursor line!
  3927. # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
  3928. adm1178|1178|lsi adm1178, 
  3929.     am, 
  3930.     cols#80, lines#24, xmc#1, 
  3931.     bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
  3932.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  3933.     cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, 
  3934.     home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H, 
  3935.     kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0, 
  3936.     sgr0=\E), smso=\EG4, smul=\EG1, 
  3937.  
  3938. #### Prime
  3939. #
  3940. # Yes, Prime makes terminals.  These entries were posted by Kevin J. Cummings
  3941. # <cummings@primerd.Prime.COM> on 14 Dec 1992 and lightly edited by esr.
  3942. #
  3943.  
  3944. # Standout mode is dim reverse-video.
  3945. pt100|pt200|wren|fenix|prime pt100/pt200, 
  3946.     am, bw, mir, msgr, 
  3947.     cols#80, it#8, lines#24, 
  3948.     cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  3949.     cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
  3950.     cup=\E0%p1%'!'%+%c%p2%'!'%+%c, cuu=\E[%p1%dA, cuu1=\EM, 
  3951.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[M, ed=\E[J\E[r, 
  3952.     el=\E[K\E[t, flash=\E$$<200/>\E$P, home=\E$B, ht=^I, 
  3953.     il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  3954.     kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, rmcup=, 
  3955.     rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  3956.     smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
  3957.     smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
  3958. pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
  3959.     cols#132, 
  3960.     cup=\E[%i%p1%d;%p2%dH, use=pt100, 
  3961. pt250|Prime PT250, 
  3962.     rmso@, smso@, use=pt100, 
  3963. pt250w|Prime PT250 in 132-column mode, 
  3964.     rmso@, smso@, use=pt100w, 
  3965.  
  3966. #### Qume (qvt)
  3967. #
  3968. #    Qume, Inc.
  3969. #    3475-A North 1st Street
  3970. #    San Jose CA 95134
  3971. #    Vox: (800)-457-4447
  3972. #    Fax: (408)-473-1510
  3973. #    Net: josed@techsupp.wyse.com (Jose D'Oliveira)
  3974. #
  3975. # Qume was bought by Wyse, but still (as of early 1995) has its own support
  3976. # group and production division.
  3977. #
  3978. # Discontinued Qume models:
  3979. #
  3980. # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
  3981. # built to replace them, and a qvt119+ which was a 101+ with available wide
  3982. # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
  3983. # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
  3984. # ANSI-compatible terminals with the qvt323 and qvt61.
  3985. #
  3986. # Current Qume models (as of February 1995):
  3987. #
  3988. # All current Qume terminals have ANSI-compatible operation modes.
  3989. # Qume is still producing the qvt62, which features emulations for other
  3990. # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
  3991. # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
  3992. # with many emulations including Wyse370, Wyse 325, etc.  Their newest
  3993. # model is the qvt520, which is vt420-compatible.
  3994. #
  3995. # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
  3996.  
  3997. qvt101|qvt108|qume qvt 101 and QVT 108, 
  3998.     xmc#1, use=qvt101+, 
  3999.  
  4000. # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
  4001. # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
  4002. # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
  4003. # What seems to be going on here is that this entry was designed so that
  4004. # the normal highlight is bold and standout is dim plus something else
  4005. # (reverse-video maybe?  But then, are there two <rev> sequences?)  
  4006. qvt101+|qvt101p|qume qvt 101 PLUS product, 
  4007.     am, bw, hs, ul, 
  4008.     cols#80, lines#24, xmc#0, 
  4009.     bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J, 
  4010.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  4011.     dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
  4012.     flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
  4013.     ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H, 
  4014.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET, 
  4015.     kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
  4016.     kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  4017.     khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(, 
  4018.     smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, 
  4019.     use=adm+sgr, 
  4020. qvt102|qume qvt 102, 
  4021.     cnorm=\E., use=qvt101, 
  4022. # (qvt103: added <rmam>/<smam> based on init string -- esr)
  4023. qvt103|qume qvt 103, 
  4024.     am, xenl, xon, 
  4025.     cols#80, it#8, lines#24, vt#3, 
  4026.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  4027.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  4028.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  4029.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  4030.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  4031.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  4032.     hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  4033.     kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
  4034.     rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
  4035.     rmso=\E[m$<2>, rmul=\E[m$<2>, 
  4036.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  4037.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  4038.     sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
  4039.     smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  4040. qvt103-w|qume qvt103 132 cols, 
  4041.     cols#132, lines#24, 
  4042.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103, 
  4043. qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
  4044.     am, hs, mir, msgr, 
  4045.     cols#80, lines#24, xmc#0, 
  4046.     bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H, 
  4047.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  4048.     cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, 
  4049.     el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I, 
  4050.     hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX, 
  4051.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
  4052.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  4053.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  4054.     mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8, 
  4055.     tbc=\E3, tsl=\Eg\Ef, 
  4056.     use=adm+sgr, 
  4057. qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
  4058.     lines#25, use=qvt119+, 
  4059. qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
  4060.     cols#132, 
  4061.     is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+, 
  4062. qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
  4063.     lines#25, use=qvt119+, 
  4064. qvt203|qvt203+|qume qvt 203 Plus, 
  4065.     dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
  4066.     ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
  4067.     kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
  4068.     kf9=\E[28~, rmir=\E[4l, smir=\E[4h, 
  4069.     use=qvt103, 
  4070. qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
  4071.     cols#132, lines#24, 
  4072.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203, 
  4073. #
  4074. #    Since a command is present for enabling 25 data lines,
  4075. #    a specific terminfo entry may be generated for the 203.
  4076. #    If one is desired for the QVT 119 PLUS then 25 lines must
  4077. #    be selected in the status line (setup line 9).
  4078. #
  4079. qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
  4080.     cols#80, lines#25, 
  4081.     is2=\E[=40h\E[?3l, use=qvt203, 
  4082. qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
  4083.     cols#132, lines#25, 
  4084.     rs2=\E[?3h\E[=40h, use=qvt203, 
  4085.  
  4086. #### Televideo (tvi)
  4087. #
  4088. #    TeleVideo
  4089. #    550 East Brokaw Road
  4090. #    PO Box 49048    95161
  4091. #    San Jose CA 95112
  4092. #    Vox: (408)-954-8333
  4093. #    Fax: (408)-954-0623
  4094. #
  4095. #
  4096. # There are some tvi terminals that require incredible amounts of padding and
  4097. # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
  4098. # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
  4099. #
  4100. # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
  4101. # Televideo terminals are ANSI and PC-ANSI compatible.
  4102.  
  4103. tvi803|televideo 803, 
  4104.     clear=\E*$<10>, use=tvi950, 
  4105.  
  4106. # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
  4107. # Switch settings are:
  4108. # S1  1 2 3 4
  4109. #     D D D D  9600
  4110. #     D D D U    50
  4111. #     D D U D    75
  4112. #     D D U U   110
  4113. #     D U D D   135
  4114. #     D U D U   150
  4115. #     D U U D   300
  4116. #     D U U U   600
  4117. #     U D D D  1200
  4118. #     U D D U  1800
  4119. #     U D U D  2400
  4120. #     U D U U  3600
  4121. #     U U D D  4800
  4122. #     U U D U  7200
  4123. #     U U U D  9600
  4124. #     U U U U 19200
  4125. # S1  5 6 7 8
  4126. #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
  4127. #     U D X U  7N2
  4128. #     U U D D  7O1
  4129. #     U U D U  7O2
  4130. #     U U U D  7E1
  4131. #     U U U U  7E2
  4132. #     D D X D  8N1
  4133. #     D D X U  8N2
  4134. #     D U D D  8O1
  4135. #     D U U U  8E2
  4136. # S1  9  Autowrap
  4137. #     U  on
  4138. #     D  off
  4139. # S1 10  CR/LF
  4140. #     U  do CR/LF when CR received
  4141. #     D  do CR when CR received
  4142. # S2  1  Mode
  4143. #     U  block
  4144. #     D  conversational
  4145. # S2  2  Duplex
  4146. #     U  half
  4147. #     D  full
  4148. # S2  3  Hertz
  4149. #     U  50
  4150. #     D  60
  4151. # S2  4  Edit mode
  4152. #     U  local
  4153. #     D  duplex
  4154. # S2  5  Cursor type
  4155. #     U  underline
  4156. #     D  block
  4157. # S2  6  Cursor down key
  4158. #     U  send ^J
  4159. #     D  send ^V
  4160. # S2  7  Screen colour
  4161. #     U  green on black
  4162. #     D  black on green
  4163. # S2  8  DSR status (pin 6)
  4164. #     U  disconnected
  4165. #     D  connected
  4166. # S2  9  DCD status (pin 8)
  4167. #     U  disconnected
  4168. #     D  duplex
  4169. # S2 10  DTR status (pin 20)
  4170. #     U  disconnected
  4171. #     D  duplex
  4172. # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
  4173. # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
  4174. tvi910|televideo model 910, 
  4175.     am, msgr, 
  4176.     cols#80, it#8, lines#24, xmc#1, 
  4177.     bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  4178.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
  4179.     home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I, 
  4180.     if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H, 
  4181.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
  4182.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  4183.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  4184.     vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
  4185. # From: Alan R. Rogers <rogers%albany@csnet-relay>
  4186. # as subsequently hacked over by someone at SCO
  4187. # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
  4188. #
  4189. # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
  4190. #
  4191. # S1  1 2 3 4:
  4192. #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
  4193. #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
  4194. #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
  4195. #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
  4196. #
  4197. # S1  5 6 7 8:
  4198. #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
  4199. #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
  4200. #     D U D D  8O1     D U U U  8E2
  4201. # S1  9  Autowrap            (U = on, D = off)
  4202. # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
  4203. # S2  1  Mode                (U = block, D = conversational)
  4204. # S2  2  Duplex              (U =  half, D = full)
  4205. # S2  3  Hertz               (U = 50, D = 60)
  4206. # S2  4  Edit mode           (U = local, D = duplex)
  4207. # S2  5  Cursor type         (U = underline, D = block)
  4208. # S2  6  Cursor down key     (U = send ^J, D = send ^V)
  4209. # S2  7  Screen colour       (U = green on black, D = black on green)
  4210. # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
  4211. # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
  4212. # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
  4213. #
  4214. tvi910+|televideo 910+, 
  4215.     dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>, 
  4216.     kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
  4217.     kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, 
  4218.     ll=\E=7\s, 
  4219.     use=tvi910, 
  4220.  
  4221. # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
  4222. # <khome> from BRL entry -- esr)
  4223. tvi912|tvi914|tvi920|old televideo 912/914/920, 
  4224.     am, msgr, 
  4225.     cols#80, it#8, lines#24, xmc#1, 
  4226.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  4227.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  4228.     dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^, 
  4229.     ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
  4230.     il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
  4231.     kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
  4232.     kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
  4233.     kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
  4234.     tbc=\E3, 
  4235. # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
  4236. # The 920 has this plus real function keys that xmit different things.
  4237. # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
  4238. tvi912c|tvi912b|new televideo 912, 
  4239.     dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912, 
  4240. # set to page 1 when entering curses application (\E-17 )
  4241. # reset to page 0 when exiting curses application (\E-07 )
  4242. tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages, 
  4243.     rmcup=\E-07\s, smcup=\E-17\s, use=tvi912, 
  4244. # We got some new tvi912c terminals that act really weird on the regular 
  4245. # termcap, so one of our gurus worked this up. Seems that cursor 
  4246. # addressing is broken.
  4247. tvi912cc|tvi912 at cowell college, 
  4248.     cup@, use=tvi912c, 
  4249.  
  4250. # Here are the switch settings for the tvi920c:
  4251. #
  4252. # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
  4253. # 2: 9600    3: 4800        4: 2400        5: 1200
  4254. # 6:  600    7:  300        8:  150        9:   75
  4255. # 10: 110
  4256. #
  4257. # S2 UART/Terminal options:
  4258. #         Up            Down
  4259. # 1:        Not used        Not allowed
  4260. # 2:    Alternate character set      Standard character set
  4261. # 3:        Full duplex            Half duplex
  4262. # 4:        50 Hz refresh        60 Hz refresh
  4263. # 5:          No parity             Send parity
  4264. # 6:         2 stop bits         1 stop bit
  4265. # 7:         8 data bits         7 data bits
  4266. # 8:        Not used        Not allowed on Rev E or lower
  4267. # 9:         Even parity         Odd parity
  4268. # 10:        Steady cursor        Blinking cursor
  4269. #     (On Rev E or lower, use W25 instead of switch 10.)
  4270. # S5 UART/Terminal options:
  4271. #         Open            Closed
  4272. # 1:    P3-6 Not connected    DSR received on P3-6
  4273. # 2:    P3-8 Not connected    DCD received on P3-8
  4274. #
  4275. # 3 Open, 4 Open:        P3-20 Not connected
  4276. # 3 Open, 4 Closed:    DTR on when terminal is on
  4277. # 3 Closed, 4 Open:    DTR is connected to RTS
  4278. # 3 Closed, 4 Closed:    Not allowed
  4279. #
  4280. # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
  4281. #         all data transmitted out of the modem port (P3) will also be
  4282. #         transmitted out of the printer port (P4).
  4283. #
  4284. # 6 Open, 7 Open:        Not allowed
  4285. # 6 Open, 7 Closed:    20ma current loop input
  4286. # 6 Closed, 7 Open:    RS232 input
  4287. # 6 Closed, 7 Closed:    Not allowed
  4288. #
  4289. # Jumper options:
  4290. # If the jumper is installed, the effect will occur (the next time the terminal
  4291. # is switched on).
  4292. #
  4293. # S4/W31:    Enables automatic LF upon receipt of CR from
  4294. #         remote or keyboard.
  4295. # S4/W32:    Enables transmission of EOT at the end of Send.  If not 
  4296. #         installed, a carriage return is sent.
  4297. # S4/W33:    Disables automatic carriage return in column 80.
  4298. # S4/W34:    Selects Page Print Mode as initial condition.  If not 
  4299. #         installed, Extension Mode is selected.
  4300. #
  4301. tvi920b|tvi920c|new televideo 920, 
  4302.     dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r, 
  4303.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  4304.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  4305.     use=tvi912, 
  4306.  
  4307. # Televideo 921 and variants
  4308. # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
  4309. # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
  4310. # also added empty <acsc> to suppress tic warning -- esr)
  4311. tvi921|televideo model 921 with sysline same as page & real vi function, 
  4312.     am, hs, xenl, xhp, 
  4313.     cols#80, lines#24, xmc#0, 
  4314.     acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
  4315.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
  4316.     cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
  4317.     el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
  4318.     if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@, 
  4319.     is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H, 
  4320.     kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, 
  4321.     ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%, 
  4322.     rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, 
  4323.     use=adm+sgr, 
  4324. # without the beeper
  4325. # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
  4326. # also added empty <acsc> to suppress tic warning -- esr)
  4327. tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper, 
  4328.     am, hs, xenl, xhp, 
  4329.     cols#80, lines#24, xmc#0, 
  4330.     acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
  4331.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
  4332.     cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
  4333.     el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I, 
  4334.     ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
  4335.     invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
  4336.     kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  4337.     kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
  4338.     nel=^M^J, rmacs=\E%, smacs=\E$, tsl=\Ef\EG0, 
  4339.     use=adm+sgr, 
  4340. # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
  4341. tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
  4342.     dl1=\ER$<2*/>, il1=\EE$<2*/>, 
  4343.     is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
  4344.     kil1=\EE$<2*/>, 
  4345.     use=tvi92B, 
  4346.  
  4347. # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
  4348. # in from a BSD termcap file because it looks like they do something the
  4349. # old ones skip -- esr)
  4350. tvi924|televideo tvi924, 
  4351.     am, bw, hs, in, mir, msgr, xenl, xon, 
  4352.     cols#80, it#8, lines#24, wsl#80, xmc#0, 
  4353.     bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0, 
  4354.     cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c, 
  4355.     cub1=^H, cud1=^V, cuf1=^L, 
  4356.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1, 
  4357.     dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et, 
  4358.     flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1, 
  4359.     ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
  4360.     invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, 
  4361.     kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
  4362.     kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r, 
  4363.     kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r, 
  4364.     kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, 
  4365.     kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
  4366.     kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
  4367.     lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
  4368.     pfkey=\E|%p1%'1'%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, use=adm+sgr, 
  4369.  
  4370. # TVI925 DIP switches.  In each of these, D = Down and U = Up,
  4371. #
  4372. # Here are the settings for the external (baud) switches (S1):
  4373. #
  4374. #             Position        Baud
  4375. # 7    8    9    10        [Printer]
  4376. # 1    2    3    4        [Main RS232]
  4377. # -----------------------------------------------------
  4378. # D    D    D    D    9600
  4379. # D    D    D    U      50
  4380. # D    D    U    D      75
  4381. # D    D    U    U     110
  4382. # D    U    D    D     135
  4383. # D    U    D    U     150
  4384. # D    U    U    D     300
  4385. # D    U    U    U     600
  4386. # U    D    D    D    1200
  4387. # U    D    D    U    1800
  4388. # U    D    U    D    2400
  4389. # U    D    U    U    3600
  4390. # U    U    D    D    4800
  4391. # U    U    D    U    7200
  4392. # U    U    U    D    9600
  4393. # U    U    U    U    19200
  4394. # Settings for word length and stop-bits (S1)
  4395. #
  4396. #  Position    Description
  4397. # 5    6    
  4398. # ---------------------------
  4399. # U    -    7-bit word
  4400. # D    -    8-bit word
  4401. # -    U    2 stop bits
  4402. # -    D    1 stop bit
  4403. # S2 (external) settings
  4404. #
  4405. # Position    Up    Dn    Description
  4406. # --------------------------------------------
  4407. # 1        X        Local edit
  4408. #             X    Duplex edit (transmit editing keys)
  4409. # --------------------------------------------
  4410. # 2        X        912/920 emulation
  4411. #             X    925
  4412. # --------------------------------------------
  4413. # 3            X
  4414. # 4            X    No parity
  4415. # 5            X    
  4416. # --------------------------------------------
  4417. # 3            X
  4418. # 4            X    Odd parity
  4419. # 5        X    
  4420. # --------------------------------------------
  4421. # 3            X
  4422. # 4        X        Even parity
  4423. # 5        X    
  4424. # --------------------------------------------
  4425. # 3        X    
  4426. # 4            X    Mark parity
  4427. # 5        X        
  4428. # --------------------------------------------
  4429. # 3        X
  4430. # 4        X        Space parity
  4431. # 5        X
  4432. # --------------------------------------------
  4433. # 6        X        White on black display
  4434. #             X    Black on white display
  4435. # --------------------------------------------
  4436. # 7            X    Half Duplex
  4437. # 8            X
  4438. # --------------------------------------------
  4439. # 7        X        Full Duplex
  4440. # 8            X    
  4441. # --------------------------------------------
  4442. # 7            X    Block mode
  4443. # 8        X    
  4444. # --------------------------------------------
  4445. # 9            X    50 Hz
  4446. #         X        60 Hz
  4447. # --------------------------------------------
  4448. # 10        X        CR/LF (Auto LF)
  4449. #             X    CR only
  4450. # S3 (internal switch) settings:
  4451. # Position    Up    Dn    Description
  4452. # --------------------------------------------
  4453. # 1        X        Keyclick off 
  4454. #             X    Keyclick on
  4455. # --------------------------------------------
  4456. # 2            X    English
  4457. # 3            X    
  4458. # --------------------------------------------
  4459. # 2            X    German
  4460. # 3        X        
  4461. # --------------------------------------------
  4462. # 2        X        French
  4463. # 3            X    
  4464. # --------------------------------------------
  4465. # 2        X        Spanish
  4466. # 3        X    
  4467. # --------------------------------------------
  4468. # 4            X    Blinking block cursor
  4469. # 5            X    
  4470. # --------------------------------------------
  4471. # 4            X    Blinking underline cursor
  4472. # 5        X        
  4473. # --------------------------------------------
  4474. # 4        X        Steady block cursor
  4475. # 5            X    
  4476. # --------------------------------------------
  4477. # 4        X        Steady underline cursor
  4478. # 5        X    
  4479. # --------------------------------------------
  4480. # 6        X        Screen blanking timer (ON)
  4481. #             X    Screen blanking timer (OFF)
  4482. # --------------------------------------------
  4483. # 7        X        Page attributes
  4484. #             X    Line attributes
  4485. # --------------------------------------------
  4486. # 8        X        DCD disconnected
  4487. #             X    DCD connected
  4488. # --------------------------------------------
  4489. # 9        X        DSR disconnected
  4490. #             X    DSR connected
  4491. # --------------------------------------------
  4492. # 10        X        DTR Disconnected
  4493. #             X    DTR connected
  4494. # --------------------------------------------
  4495. #
  4496. # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
  4497. tvi925|televideo 925, 
  4498.     am, bw, hs, ul, 
  4499.     cols#80, lines#24, xmc#1, 
  4500.     bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V, 
  4501.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  4502.     cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET, 
  4503.     flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1, 
  4504.     ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z, 
  4505.     kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
  4506.     ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
  4507.     kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
  4508.     kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3, 
  4509.     tsl=\Eh\Ef, 
  4510.     use=adm+sgr, 
  4511. # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
  4512. # to avoid "magic cookie" standout glitch:
  4513. tvi925-hi|TeleVideo Model 925 with half intensity standout mode, 
  4514.     xmc@, 
  4515.     kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925, 
  4516.  
  4517. # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
  4518. # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
  4519. # for additional capabilities, 
  4520. # The following tvi descriptions from B:pjphar and virus!mike
  4521. # is for all 950s.  It sets the following attributes:
  4522. # full duplex (\EDF)        write protect off (\E()
  4523. # conversation mode (\EC)    graphics mode off (\E%)
  4524. # white on black (\Ed)        auto page flip off (\Ew)
  4525. # turn off status line (\Eg)    clear status line (\Ef\r)
  4526. # normal video (\E0)        monitor mode off (\EX or \Eu)
  4527. # edit mode (\Er)        load blank char to space (\Ee\040)
  4528. # line edit mode (\EO)        enable buffer control (^O)
  4529. # protect mode off (\E\047)    duplex edit keys (\El)
  4530. # program unshifted send key to send line all (\E016)
  4531. # program shifted send key to send line unprotected (\E004)
  4532. # set the following to nulls:
  4533. #    field delimiter (\Ex0\200\200)
  4534. #    line delimiter (\Ex1\200\200)
  4535. #    start-protected field delimiter (\Ex2\200\200)
  4536. #    end-protected field delimiter (\Ex3\200\200)
  4537. # set end of text delimiter to carriage return/null (\Ex4\r\200)
  4538. #                     TVI 950 Switch Setting Reference Charts
  4539. #                                     TABLE 1:
  4540. #      S1     1     2     3     4     5     6     7     8     9    10
  4541. #          +-----------------------+-----+-----+-----------------------+
  4542. #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
  4543. #          |                       |Bits |Bits |                       |
  4544. #   +------+-----------------------+-----+-----+-----------------------+
  4545. #   |  Up  |        See            |  7  |  2  |        See            |
  4546. #   +------+-----------------------+-----+-----+-----------------------+
  4547. #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
  4548. #   +------+-----------------------+-----+-----+-----------------------+
  4549. #      S2     1     2     3     4     5     6     7     8     9    10
  4550. #          +-----+-----+-----------------+-----+-----------+-----+-----+
  4551. #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
  4552. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  4553. #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
  4554. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  4555. #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
  4556. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  4557. #  
  4558. #                                    TABLE 2:
  4559. #             +-----------+-----+-----+-----+-----+-----------+
  4560. #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
  4561. #             +-----------+-----+-----+-----+-----+           |
  4562. #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
  4563. #             +-----------+-----+-----+-----+-----+-----------+
  4564. #                         |  D  |  D  |  D  |  D  |   9600    |
  4565. #                         |  U  |  D  |  D  |  D  |     50    |
  4566. #                         |  D  |  U  |  D  |  D  |     75    |
  4567. #                         |  U  |  U  |  D  |  D  |    110    |
  4568. #                         |  D  |  D  |  U  |  D  |    135    |
  4569. #                         |  U  |  D  |  U  |  D  |    150    |
  4570. #                         |  D  |  U  |  U  |  D  |    300    |
  4571. #                         |  U  |  U  |  U  |  D  |    600    |
  4572. #                         |  D  |  D  |  D  |  U  |   1200    |
  4573. #                         |  U  |  D  |  D  |  U  |   1800    |
  4574. #                         |  D  |  U  |  D  |  U  |   2400    |
  4575. #                         |  U  |  U  |  D  |  U  |   3600    |
  4576. #                         |  D  |  D  |  U  |  U  |   4800    |
  4577. #                         |  U  |  D  |  U  |  U  |   7200    |
  4578. #                         |  D  |  U  |  U  |  U  |   9600    |
  4579. #                         |  U  |  U  |  U  |  U  |  19200    |
  4580. #                         +-----+-----+-----+-----+-----------+
  4581. #                                    TABLE 3:
  4582. #                         +-----+-----+-----+-----------+
  4583. #                         |  3  |  4  |  5  |   Parity  |
  4584. #                         +-----+-----+-----+-----------+
  4585. #                         |  X  |  X  |  D  |    None   |
  4586. #                         |  D  |  D  |  U  |     Odd   |
  4587. #                         |  D  |  U  |  U  |    Even   |
  4588. #                         |  U  |  D  |  U  |    Mark   |
  4589. #                         |  U  |  U  |  U  |   Space   |
  4590. #                         +-----+-----+-----+-----------+
  4591. #                                 X = don't care
  4592. #                                     CHART:
  4593. #                         +-----+-----+-----------------+
  4594. #                         |  7  |  8  | Communication   |
  4595. #                         +-----+-----+-----------------+
  4596. #                         |  D  |  D  |  Half Duplex    |
  4597. #                         |  D  |  U  |  Full Duplex    |
  4598. #                         |  U  |  D  |     Block       |
  4599. #                         |  U  |  U  |     Local       |
  4600. #                         +-----+-----+-----------------+
  4601. # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
  4602. # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
  4603. # should be present and all tvi native modes use the same string for this.
  4604. # Finally, note that BSD has cud1=^V. -- esr) 
  4605. tvi950|televideo 950, 
  4606.     am, hs, mir, msgr, xenl, xon, 
  4607.     cols#80, it#8, lines#24, xmc#1, 
  4608.     acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*, 
  4609.     cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  4610.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  4611.     dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
  4612.     fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
  4613.     invis@, 
  4614.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r, 
  4615.     kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
  4616.     kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
  4617.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  4618.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  4619.     kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X, 
  4620.     rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
  4621.     use=adm+sgr, 
  4622. #
  4623. # is for 950 with two pages adds the following:
  4624. #    set 48 line page (\E\\2)
  4625. #    place cursor at page 0, line 24, column 1 (\E-07 )
  4626. #    set local (no send) edit keys (\Ek)
  4627. #
  4628. # two page 950 adds the following:
  4629. #    when entering ex, set 24 line page (\E\\1)
  4630. #    when exiting ex, reset 48 line page (\E\\2)
  4631. #             place cursor at 0,24,1 (\E-07 )
  4632. #    set duplex (send) edit keys (\El) when entering vi
  4633. #    set local (no send) edit keys (\Ek) when exiting vi
  4634. #
  4635. tvi950-2p|televideo950 w/2 pages, 
  4636.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011, 
  4637.     rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
  4638.     smkx=\El, 
  4639.     use=tvi950, 
  4640. #
  4641. # is for 950 with four pages adds the following:
  4642. #    set 96 line page (\E\\3)
  4643. #    place cursor at page 0, line 24, column 1 (\E-07 )
  4644. #
  4645. # four page 950 adds the following:
  4646. #    when entering ex, set 24 line page (\E\\1)
  4647. #    when exiting ex, reset 96 line page (\E\\3)
  4648. #             place cursor at 0,24,1 (\E-07 )
  4649. #
  4650. tvi950-4p|televideo950 w/4 pages, 
  4651.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011, 
  4652.     rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
  4653.     smkx=\El, 
  4654.     use=tvi950, 
  4655. #
  4656. # <is2> for reverse video 950 changes the following:
  4657. #    set reverse video (\Ed)
  4658. #
  4659. # set vb accordingly (\Ed ...delay... \Eb)
  4660. #
  4661. tvi950-rv|televideo950 rev video, 
  4662.     flash=\Ed$<200/>\Eb, 
  4663.     is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, use=tvi950, 
  4664.  
  4665. # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
  4666. tvi950-rv-2p|televideo950 rev video w/2 pages, 
  4667.     flash=\Ed$<200/>\Eb, 
  4668.     is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s, 
  4669.     rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
  4670.     smkx=\El, 
  4671.     use=tvi950, 
  4672.  
  4673. # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
  4674. tvi950-rv-4p|televideo950 rev video w/4 pages, 
  4675.     flash=\Ed$<200/>\Eb, 
  4676.     is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s, 
  4677.     rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
  4678.     smkx=\El, 
  4679.     use=tvi950, 
  4680. # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
  4681. # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
  4682. # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
  4683. # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
  4684. # the :ko: string had :cl: in it, which means that one of the original
  4685. # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
  4686. # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
  4687. # ko implies -- esr)
  4688. # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
  4689. # also work.
  4690. tvi955|televideo 955, 
  4691.     mc5i, msgr@, 
  4692.     it#8, xmc@, 
  4693.     acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
  4694.     civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH, 
  4695.     cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1, 
  4696.     is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
  4697.     knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%, 
  4698.     rmam=\E[=7l, rmxon=^N, 
  4699.     rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r, 
  4700.     sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
  4701.     use=tvi950, 
  4702. tvi955-w|955-w|televideo955 w/132 cols, 
  4703.     cols#132, 
  4704.     is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955, 
  4705. # use half-intensity as normal mode, full intensity as <bold>
  4706. tvi955-hb|955-hb|televideo955 half-bright, 
  4707.     bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, 
  4708.     sgr0=\EG0\E[=5h, 
  4709.     use=tvi955, 
  4710. # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
  4711. # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
  4712. # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
  4713. # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
  4714. # it does to the function keys.  I deduced <rmam>/<smam>.
  4715. # also added empty <acsc> to suppress tic warning,  -- esr)
  4716. tvi970|televideo 970, 
  4717.     am, da, db, mir, msgr, 
  4718.     cols#80, it#8, lines#24, 
  4719.     acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
  4720.     cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
  4721.     cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
  4722.     ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H, 
  4723.     hpa=\E[%i%p1%dG, ht=^I, il1=\E[L, 
  4724.     is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
  4725.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  4726.     kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, 
  4727.     kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, 
  4728.     rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
  4729.     sgr0=\E[m, smacs=\E(B, smam=\E[?7l, 
  4730.     smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
  4731.     smul=\E[4m, vpa=\E[%i%p1%dd, 
  4732. tvi970-vb|televideo 970 with visual bell, 
  4733.     flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, use=tvi970, 
  4734. tvi970-2p|televideo 970 with using 2 pages of memory, 
  4735.     rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
  4736.     use=tvi970, 
  4737. # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
  4738. # per line (rather than 40), Esc K chooses the normal character set.  Not sure
  4739. # padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
  4740. # <smul> strings are klutzy, but at least use no screen space.
  4741. # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
  4742. # its absence means <smam>=\Ev isn't save to use. -- esr)
  4743. # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
  4744. # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
  4745. # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
  4746. tvipt|televideo personal terminal, 
  4747.     am, 
  4748.     cols#80, lines#24, 
  4749.     cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
  4750.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>, 
  4751.     ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt, 
  4752.     il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
  4753.     kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R, 
  4754.     rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH, 
  4755. # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
  4756. tvi9065|televideo 9065, 
  4757.     am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
  4758.     cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
  4759.     wnum#0, wsl#30, 
  4760.     acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G, 
  4761.     blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
  4762.     cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
  4763.     cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
  4764.     cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu=\E[%p1%dA, cuu1=^K, 
  4765.     cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
  4766.     dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
  4767.     el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
  4768.     ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
  4769.     il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1, 
  4770.     ip=$<3>, 
  4771.     is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er, 
  4772.     is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s, 
  4773.     kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
  4774.     kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
  4775.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  4776.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
  4777.     mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
  4778.     pfkey=\E|%p1%'0'%+%c3%p2%s\031, 
  4779.     pfloc=\E|%p1%'0'%+%c2%p2%s\031, 
  4780.     pfx=\E|%p1%'0'%+%c1%p2%s\031, 
  4781.     pln=\E_%p1%'?'%+%c%p2%s\r, prot=\E&, 
  4782.     rep=\E[%p2%db%p1%c, rev=\EG4, 
  4783.     rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
  4784.     rmacs=\E%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
  4785.     rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
  4786.     rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
  4787.     rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1, 
  4788.     rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0, 
  4789.     sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;, 
  4790.     sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
  4791.     smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
  4792.     tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 
  4793.  
  4794. #### Visual (vi)
  4795. #
  4796. # In September 1993, Visual Technology of Westboro, Massachusetts,
  4797. # merged with White Pine Software of Nashua, New Hampshire.
  4798. #
  4799. # White Pine Software may be contacted at +1 603/886-9050.
  4800. # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
  4801. #
  4802.  
  4803. # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
  4804. # Recently I hacked together the following termcap for Visual
  4805. # Technology's Visual 50 terminal. It's a slight modification of
  4806. # the vt52 termcap. 
  4807. # It's intended to run when the Visual 50 is in vt52 emulation mode
  4808. # (I know what you're thinking; if it's emulating a vt52, then why
  4809. # another termcap? Well, it turns out that the Visual 50 can handle
  4810. # <dl1> and db(?) among other things, which the vt52 can't)
  4811. # The termcap works OK for the most part. The only problem is on
  4812. # character inserts. The whole line gets painfully redrawn for each
  4813. # character typed. Any suggestions?
  4814. # Beau's entry is combined with the vi50 entry from University of Wisconsin.
  4815. # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
  4816. # disguise; <kf7>-<kf9> are really l1-l3.
  4817. vi50|visual 50, 
  4818.     am, da, db, msgr, 
  4819.     cols#80, it#8, lines#24, 
  4820.     bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, 
  4821.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  4822.     dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, ht=^I, 
  4823.     il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  4824.     kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, kf5=\EE, 
  4825.     kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, nel=^M^J, 
  4826.     ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES, 
  4827. # this one was BSD & SCO's vi50
  4828. vi50adm|visual 50 in adm3a mode, 
  4829.     am, msgr, 
  4830.     cols#80, it#8, lines#24, 
  4831.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  4832.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
  4833.     ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
  4834.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, 
  4835.     rmso=\ET, smso=\EU, 
  4836. # From: Jeff Siegal <jbs@athena.mit.edu>
  4837. vi55|Visual 55, 
  4838.     am, mir, msgr, 
  4839.     cols#80, it#8, lines#24, 
  4840.     clear=\Ev, csr=\E_%p1%'A'%+%c%p2%'A'%+%c, cub1=^H, 
  4841.     cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  4842.     cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
  4843.     il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
  4844.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET, 
  4845.     smir=\Ea, smso=\EU, 
  4846.  
  4847. # Visual 200 from BRL
  4848. # The following switch settings are assumed for normal operation:
  4849. #    FULL_DUPLEX        SCROLL            CR
  4850. #    AUTO_NEW_LINE_ON    VISUAL_200_EMULATION_MODE
  4851. # Other switches may be set for operator convenience or communication
  4852. # requirements.
  4853. # Character insertion is kludged in order to get around the "beep" misfeature.
  4854. # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
  4855. # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
  4856. # and <dl1> strings, but we seem to get along fine without them.
  4857. vi200|visual 200, 
  4858.     am, mir, msgr, 
  4859.     cols#80, it#8, lines#24, 
  4860.     acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
  4861.     cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  4862.     cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey, 
  4863.     el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea, 
  4864.     kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  4865.     kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p, 
  4866.     kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
  4867.     kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
  4868.     kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
  4869.     rmacs=\EG, rmkx=\E>, rmso=\E3, 
  4870.     rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF, 
  4871.     smkx=\E=, smso=\E4, tbc=\Eg, 
  4872. # The older Visuals didn't come with function keys. This entry uses
  4873. # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
  4874. # If your version of vi doesn't support function keys you may want
  4875. # to use vi200-f.
  4876. vi200-f|visual 200 no function keys, 
  4877.     is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
  4878.     kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, 
  4879.     kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@, 
  4880.     use=vi200, 
  4881. vi200-rv|visual 200 reverse video, 
  4882.     cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200, 
  4883.  
  4884. # the function keys are programmable but we don't reprogram them to their
  4885. # default values with <is2> because programming them is very verbose. maybe
  4886. # an initialization file should be made for the 300 and they could be stuck
  4887. # in it.
  4888. # (vi300: added <rmam>/<smam> based on init string -- esr)
  4889. vi300|visual 300 ansi x3.64, 
  4890.     am, bw, mir, xenl, 
  4891.     cols#80, lines#24, 
  4892.     bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
  4893.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  4894.     dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  4895.     il1=\E[L, ind=^J, 
  4896.     is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
  4897.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  4898.     kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, 
  4899.     kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, 
  4900.     kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
  4901.     rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
  4902.     smso=\E[1m, smul=\E[4m, 
  4903. # some of the vi300s have older firmware that has the command
  4904. # sequence for setting editing extent reversed.
  4905. vi300-old|visual 300 with old firmware (set edit extent reversed), 
  4906.     is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, 
  4907.     use=vi300, 
  4908.  
  4909. # Visual 500 prototype entry from University of Wisconsin.
  4910. # The best place to look for the escape sequences is page A1-1 of the
  4911. # Visual 500 manual.  The initialization sequence given here may be
  4912. # overkill, but it does leave out some of the initializations which can
  4913. # be done with the menus in set-up mode.
  4914. # The :xp: line below is so that emacs can understand the padding requirements
  4915. # of this slow terminal.  :xp: is 10 time the padding factor.
  4916. # (vi500: removed unknown :xp#4: termcap;
  4917. # also added empty <acsc> to suppress tic warning -- esr)
  4918. vi500|visual 500, 
  4919.     am, mir, msgr, 
  4920.     cols#80, it#8, lines#33, 
  4921.     acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
  4922.     csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
  4923.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  4924.     dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>, 
  4925.     el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>, 
  4926.     ind=^J, 
  4927.     is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
  4928.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  4929.     khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
  4930.     rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D, 
  4931.  
  4932. # The visual 550 is a visual 300 with tektronix graphics,
  4933. # and with 33 lines. clear screen is modified here to
  4934. # also clear the graphics.
  4935. vi550|visual 550 ansi x3.64, 
  4936.     lines#33, 
  4937.     clear=\030\E[H\E[2J, use=vi300, 
  4938.  
  4939. vi603|visual603|visual 603, 
  4940.     hs, mir, 
  4941.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  4942.     csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
  4943.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  4944.     dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L, 
  4945.     ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, 
  4946.     rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
  4947.     sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~, 
  4948.     use=vt100, 
  4949.  
  4950. #### Wyse (wy)
  4951. #
  4952. #    Wyse Technology
  4953. #    3471 North First Street
  4954. #    San Jose, CA 95134
  4955. #    Vox: (408)-473-1200
  4956. #    Fax: (408) 473-1222
  4957. #    Web: http://www.wyse.com
  4958. #
  4959. # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
  4960. # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
  4961. # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
  4962. # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
  4963. #
  4964. # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
  4965. # They now own the Qume and Amdek brands, too.  So these are the people to
  4966. # talk with about all Link, Qume, and Amdek terminals.
  4967. #
  4968. # These entries include a few small fixes.
  4969. # I canceled the bel capacities in the vb entries.
  4970. # I made two trivial syntax fixes in the wyse30 entry.
  4971. # I made some entries relative to adm+sgr.
  4972. #
  4973. #
  4974. # Note: The wyse75, wyse85, and wyse99 have been discontinued.
  4975.  
  4976. #       Although the Wyse 30 can support more than one attribute
  4977. #    it requires magic cookies to do so.  Many applications do not
  4978. #    function well with magic cookies.  The following terminfo uses
  4979. #    the protect mode to support one attribute (dim) without cookies.
  4980. #    If more than one attribute is needed then the wy30-mc terminfo
  4981. #    should be used.
  4982. #
  4983. wy30|wyse30|Wyse 30, 
  4984.     am, bw, hs, mc5i, mir, msgr, xon, 
  4985.     cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
  4986.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
  4987.     civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H, 
  4988.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  4989.     cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, 
  4990.     dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, 
  4991.     fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
  4992.     ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
  4993.     kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
  4994.     kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
  4995.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  4996.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
  4997.     kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
  4998.     mc5=^X, nel=^M^J, pfx=\Ez%p1%'?'%+%c%p2%s\177, 
  4999.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
  5000.     rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
  5001.     sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  5002.     sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
  5003.     smso=\E`7\E), tbc=\E0, tsl=\EF, 
  5004. #
  5005. #    This terminal description uses the non-hidden attribute mode
  5006. #    (with magic cookie).
  5007. #
  5008. # (wy30-mc: added <smcup> to suppress tic warning --esr)
  5009. wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
  5010.     msgr@, 
  5011.     ma@, xmc#1, 
  5012.     blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
  5013.     rmcup=\EG0, rmso=\EG0, 
  5014.     sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  5015.     sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
  5016.     smso=\EG4, use=wy30, 
  5017.     use=adm+sgr, 
  5018. #    The mandatory pause used by <flash> does not work with
  5019. #    older versions of terminfo.  If you see this effect then
  5020. #    unset xon and delete the / from the delay.
  5021. #    i.e. change $<100/> to $<100>
  5022. wy30-vb|wyse30-vb|wyse 30 visible bell, 
  5023.     bel@, use=wy30, 
  5024. #
  5025. #       The Wyse 50 can support one attribute (e.g. Dim, Inverse,
  5026. #    Normal) without magic cookies by using the protect mode.
  5027. #    The following description uses this feature, but when more
  5028. #    than one attribute is put on the screen at once, all attributes
  5029. #    will be changed to be the same as the last attribute given.
  5030. #       The Wyse 50 can support more attributes when used with magic
  5031. #    cookies.  The wy50-mc terminal description uses magic cookies
  5032. #    to correctly handle multiple attributes on a screen.
  5033. #
  5034. wy50|wyse50|Wyse 50, 
  5035.     am, bw, hs, mc5i, mir, msgr, xon, 
  5036.     cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
  5037.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
  5038.     civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H, 
  5039.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  5040.     cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
  5041.     ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
  5042.     home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>, 
  5043.     is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H, 
  5044.     kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  5045.     kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
  5046.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
  5047.     kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  5048.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  5049.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
  5050.     ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
  5051.     pfx=\Ez%p1%'?'%+%c%p2%s\177, 
  5052.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
  5053.     ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
  5054.     sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  5055.     sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
  5056.     smso=\E`6\E), tbc=\E0, tsl=\EF, 
  5057. #
  5058. #    This terminal description uses the non-hidden attribute mode
  5059. #    (with magic cookie).
  5060. #
  5061. #    The mandatory pause used by flash does not work with some
  5062. #    older versions of terminfo.  If you see this effect then
  5063. #    unset <xon> and delete the / from the delay.
  5064. #    i.e. change $<100/> to $<100>
  5065. # (wy50-mc: added <smcup> to suppress tic warning --esr)
  5066. wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
  5067.     msgr@, 
  5068.     ma@, xmc#1, 
  5069.     blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4, 
  5070.     rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
  5071.     sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  5072.     sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
  5073.     smso=\EGt, use=wy50, 
  5074.     use=adm+sgr, 
  5075. wy50-vb|wyse50-vb|wyse 50 visible bell, 
  5076.     bel@, use=wy50, 
  5077. wy50-w|wyse50-w|wyse 50 132-column, 
  5078.     cols#132, lw#7, nlab#16, wsl#97, 
  5079.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy50, 
  5080. wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
  5081.     bel@, 
  5082.     use=wy50-w, 
  5083. #
  5084. #    The Wyse 350 is a Wyse 50 with color.
  5085. #    Unfortunately this means that it has magic cookies.
  5086. #    The color attributes are designed to overlap the reverse, dim and
  5087. #    underline attributes.  This is nice for monochrome applications
  5088. #    because you can make underline stuff green (or any other color)
  5089. #    but for true color applications it's not so hot because you cannot
  5090. #    mix color with reverse, dim or underline.
  5091. #        To further complicate things one of the attributes must be
  5092. #    black (either the foreground or the background).  In reverse video
  5093. #    the background changes color with black letters.  In normal video
  5094. #    the foreground changes colors on a black background.  
  5095. #        This terminfo uses some of the more advanced features of curses
  5096. #    to display both color and blink.  In the final analysis I am not
  5097. #    sure that the wy350 runs better with this terminfo than it does
  5098. #    with the wy50 terminfo (with user adjusted colors).
  5099. #
  5100. #    The mandatory pause used by flash does not work with
  5101. #    older versions of terminfo.  If you see this effect then
  5102. #    unset xon and delete the / from the delay.
  5103. #    i.e. change $<100/> to $<100>
  5104. #
  5105. # Bug: The <op> capability resets attributes.
  5106. wy350|wyse350|Wyse 350, 
  5107.     am, bw, hs, mc5i, mir, xon, 
  5108.     colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8, 
  5109.     wsl#45, xmc#1, 
  5110.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
  5111.     cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
  5112.     cub1=^H, cud1=^J, cuf1=^L, 
  5113.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>, 
  5114.     dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET, 
  5115.     flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
  5116.     il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>, 
  5117.     is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI, 
  5118.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
  5119.     ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
  5120.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
  5121.     kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  5122.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  5123.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
  5124.     ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
  5125.     pfx=\Ez%p1%'?'%+%c%p2%s\177, 
  5126.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
  5127.     rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
  5128.     setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%'0'%+%c, 
  5129.     sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%'0'%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  5130.     sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
  5131.     smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, 
  5132.     use=adm+sgr, 
  5133. wy350-vb|wyse350-vb|wyse 350 visible bell, 
  5134.     bel@, use=wy350, 
  5135. wy350-w|wyse350-w|wyse 350 132-column, 
  5136.     cols#132, lw#7, nlab#16, wsl#97, 
  5137.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, use=wy350, 
  5138. wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
  5139.     bel@, 
  5140.     use=wy350-w, 
  5141. #
  5142. #    This terminfo description is untested.
  5143. #    The wyse100 emulates an adm31, so the adm31 entry should work.
  5144. #
  5145. wy100|wyse 100, 
  5146.     hs, mir, 
  5147.     cols#80, lines#24, xmc#1, 
  5148.     bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5149.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  5150.     dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J, 
  5151.     invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
  5152.     kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
  5153.     kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
  5154.     rmir=\Er, smir=\Eq, tsl=\EF, 
  5155.     use=adm+sgr, 
  5156. #
  5157. #    The Wyse 120/150 has most of the features of the Wyse 60.
  5158. #    This terminal does not need padding up to 9600 baud!
  5159. #    <msgr> should be set but the clear screen fails when in
  5160. #    alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
  5161. #    then set <msgr>.
  5162. #
  5163. wy120|wyse120|wy150|wyse150|Wyse 120/150, 
  5164.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  5165.     cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
  5166.     acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  5167.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
  5168.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5169.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
  5170.     dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
  5171.     flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>, 
  5172.     hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
  5173.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  5174.     is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
  5175.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  5176.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  5177.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  5178.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  5179.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
  5180.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
  5181.     mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
  5182.     pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  5183.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  5184.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
  5185.     rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
  5186.     rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
  5187.     rs3=\EwG\Ee($<100>, 
  5188.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  5189.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  5190.     smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
  5191.     tbc=\E0, tsl=\EF, 
  5192.     use=adm+sgr, 
  5193. #
  5194. wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
  5195.     cols#132, lw#7, nlab#16, wsl#97, 
  5196.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
  5197.     rs2=\E`;$<70>, use=wy120, 
  5198. #
  5199. wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
  5200.     lh@, lines#25, lw@, nlab@, 
  5201.     pln@, rs3=\EwG\Ee)$<100>, use=wy120, 
  5202. #
  5203. wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
  5204.     lh@, lines#25, lw@, nlab@, 
  5205.     pln@, rs3=\EwG\Ee)$<100>, use=wy120-w, 
  5206. #
  5207. wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
  5208.     bel@, 
  5209.     use=wy120, 
  5210. #
  5211. wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
  5212.     bel@, 
  5213.     use=wy120-w, 
  5214. #
  5215. #    The Wyse 60 is like the Wyse 50 but with more padding.
  5216. #    The reset strings are slow and the pad times very depending
  5217. #    on other parameters such as font loading.  I have tried
  5218. #    to follow the following outline:
  5219. #
  5220. #        <rs1> -> set personality
  5221. #        <rs2> -> set number of columns
  5222. #        <rs3> -> set number of lines
  5223. #        <is1> -> select the proper font
  5224. #        <is2> -> do the initialization
  5225. #        <is3> -> set up display memory (2 pages)
  5226. #
  5227. #    The Wyse 60's that have vt100 emulation are slower than the
  5228. #    older Wyse 60's.  This change happened mid-1987.
  5229. #    The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
  5230. #
  5231. #    The meta key is only half right.  This terminal will return the
  5232. #    high order bit set when you hit CTRL-function_key
  5233. #
  5234. #    It may be useful to assign two function keys with the
  5235. #    values  \E=(\s  look at old data in page 1
  5236. #            \E=W,   look at bottom of page 1
  5237. #    where \s is a space ( ).
  5238. #
  5239. #    Note:
  5240. #       The Wyse 60 runs faster when the XON/XOFF
  5241. #       handshake is turned off.
  5242. #
  5243. # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
  5244. # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
  5245. wy60|wyse60|Wyse 60, 
  5246.     am, bw, hs, km, mc5i, mir, msgr, 
  5247.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
  5248.     acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  5249.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
  5250.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5251.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  5252.     dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r, 
  5253.     ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
  5254.     home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
  5255.     ip=$<3>, is1=\EcB0\EcC1, 
  5256.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  5257.     is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
  5258.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  5259.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  5260.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  5261.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  5262.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
  5263.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
  5264.     mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
  5265.     pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  5266.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  5267.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
  5268.     rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
  5269.     rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
  5270.     rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
  5271.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  5272.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  5273.     smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
  5274.     tbc=\E0, tsl=\EF, 
  5275.     use=adm+sgr, 
  5276. #
  5277. wy60-w|wyse60-w|wyse 60 132-column, 
  5278.     cols#132, lw#7, nlab#16, wsl#97, 
  5279.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
  5280.     rs2=\EeF$<150>\E`;$<150>, use=wy60, 
  5281. #
  5282. wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
  5283.     lh@, lines#25, lw@, nlab@, 
  5284.     pln@, rs3=\EwG\Ee)$<200>, use=wy60, 
  5285. wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
  5286.     lh@, lines#25, lw@, nlab@, 
  5287.     pln@, rs3=\EwG\Ee)$<200>, use=wy60-w, 
  5288. #
  5289. wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
  5290.     lines#42, 
  5291.     clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, 
  5292.     dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
  5293.     ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
  5294.     ri=\Ej$<10>, rs3=\Ee*$<150>, 
  5295.     use=wy60, 
  5296. wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
  5297.     cols#132, lw#7, nlab#16, wsl#97, 
  5298.     clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
  5299.     dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>, 
  5300.     nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, 
  5301.     use=wy60-42, 
  5302. #
  5303. wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
  5304.     lh@, lines#43, lw@, nlab@, 
  5305.     pln@, rs3=\Ee+$<150>, use=wy60-42, 
  5306. wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
  5307.     lh@, lines#43, lw@, nlab@, 
  5308.     pln@, rs3=\Ee+$<150>, use=wy60-42-w, 
  5309. #
  5310. wy60-vb|wyse60-vb|Wyse 60 visible bell, 
  5311.     bel@, use=wy60, 
  5312. wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
  5313.     bel@, 
  5314.     use=wy60-w, 
  5315.  
  5316. #    The Wyse-99GT looks at lot like the Wyse 60 except that it
  5317. #    does not have the 42/43 line mode.  In the Wyse-60 the "lines"
  5318. #    setup parameter controls the number of lines on the screen.
  5319. #    For the Wyse 99GT the "lines" setup parameter controls the
  5320. #    number of lines in a page.  The screen can display 25 lines max.
  5321. #        The Wyse-99GT also has personalities for the VT220 and
  5322. #    Tektronix 4014.  But this has no bearing on the native mode.
  5323. #
  5324. #    (msgr) should be set but the clear screen fails when in
  5325. #    alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
  5326. #    then set msgr, else use msgr@.
  5327. #
  5328. #    u0 -> enter Tektronix mode
  5329. #    u1 -> exit Tektronix mode
  5330. #
  5331. wy99gt|wyse99gt|Wyse 99gt, 
  5332.     msgr@, 
  5333.     clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>, 
  5334.     el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>, 
  5335.     il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@, 
  5336.     ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1, 
  5337.     u0=\E~>\E8, u1=\E[42h, 
  5338.     use=wy60, 
  5339. #
  5340. wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
  5341.     cols#132, lw#7, nlab#16, wsl#97, 
  5342.     clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
  5343.     dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, use=wy99gt, 
  5344. #
  5345. wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
  5346.     lh@, lines#25, lw@, nlab@, 
  5347.     pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt, 
  5348. #
  5349. wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
  5350.     lh@, lines#25, lw@, nlab@, 
  5351.     pln@, rs2=\E`;$<150>, use=wy99gt-w, 
  5352. #
  5353. wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
  5354.     bel@, use=wy99gt, 
  5355. #
  5356. wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
  5357.     bel@, 
  5358.     use=wy99gt-w, 
  5359. #
  5360. #    The Wyse 160 is combination of the WY-60 and the WY-99gt.
  5361. #    The reset strings are slow and the pad times very depending
  5362. #    on other parameters such as font loading.  I have tried
  5363. #    to follow the following outline:
  5364. #
  5365. #        <rs1> -> set personality
  5366. #        <rs2> -> set number of columns
  5367. #        <rs3> -> set number of lines
  5368. #        <is1> -> select the proper font
  5369. #        <is2> -> do the initialization
  5370. #        <is3> -> set up display memory (2 pages)
  5371. #
  5372. #    The display memory may be used for either text or graphics.
  5373. #    When "Display Memory = Shared" the terminal will have more pages
  5374. #    but garbage may be left on the screen when you switch from
  5375. #    graphics to text.  If "Display Memory = Unshared" then the
  5376. #    text area will be only one page long.
  5377. #
  5378. # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
  5379. # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
  5380. wy160|wyse160|Wyse 160, 
  5381.     am, bw, hs, km, mc5i, mir, msgr, 
  5382.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
  5383.     acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  5384.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
  5385.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5386.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
  5387.     dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, 
  5388.     el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
  5389.     hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1, 
  5390.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  5391.     is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
  5392.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  5393.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  5394.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  5395.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  5396.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
  5397.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
  5398.     mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
  5399.     pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  5400.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  5401.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
  5402.     rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
  5403.     rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
  5404.     rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
  5405.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  5406.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  5407.     smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
  5408.     tbc=\E0, tsl=\EF, 
  5409.     use=adm+sgr, 
  5410. #
  5411. wy160-w|wyse160-w|wyse 160 132-column, 
  5412.     cols#132, lw#7, nlab#16, wsl#90, 
  5413.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
  5414.     rs2=\EeF$<150>\E`;$<150>, use=wy160, 
  5415. #
  5416. wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
  5417.     lh@, lines#25, lw@, nlab@, 
  5418.     pln@, rs3=\EwG\Ee)$<200>, use=wy160, 
  5419. wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
  5420.     lh@, lines#25, lw@, nlab@, 
  5421.     pln@, rs3=\EwG\Ee)$<200>, use=wy160-w, 
  5422. #
  5423. wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
  5424.     lines#42, 
  5425.     clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>, 
  5426.     ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>, 
  5427.     rs3=\Ee*$<150>, 
  5428.     use=wy160, 
  5429. wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
  5430.     cols#132, lw#7, nlab#16, wsl#90, 
  5431.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
  5432.     rs2=\EeF$<150>\E`;$<150>, 
  5433.     use=wy160-42, 
  5434. #
  5435. wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
  5436.     lh@, lines#43, lw@, nlab@, 
  5437.     pln@, rs3=\Ee+$<150>, use=wy160-42, 
  5438. wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
  5439.     lh@, lines#43, lw@, nlab@, 
  5440.     pln@, rs3=\Ee+$<150>, use=wy160-42-w, 
  5441. #
  5442. wy160-vb|wyse160-vb|Wyse 160 visible bell, 
  5443.     bel@, use=wy160, 
  5444. wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
  5445.     bel@, 
  5446.     use=wy160-w, 
  5447. #
  5448. #    The Wyse 75 is a vt100 lookalike without advanced video.
  5449. #
  5450. #       The Wyse 75 can support one attribute (e.g. Dim, Inverse,
  5451. #    Underline) without magic cookies.  The following description
  5452. #    uses this capability, but when more than one attribute is
  5453. #    put on the screen at once, all attributes will be changed
  5454. #    to be the same as the last attribute given.
  5455. #       The Wyse 75 can support more attributes when used with magic
  5456. #    cookies.  The wy75-mc terminal description uses magic cookies
  5457. #    to correctly handle multiple attributes on a screen.
  5458. #
  5459. wy75|wyse75|wyse 75, 
  5460.     am, hs, mc5i, mir, msgr, xenl, xon, 
  5461.     cols#80, lines#24, ma#1, pb#1201, wsl#78, 
  5462.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5463.     bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>, 
  5464.     cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>, 
  5465.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  5466.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  5467.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
  5468.     dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
  5469.     dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001, 
  5470.     ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
  5471.     enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A, 
  5472.     home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
  5473.     ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
  5474.     ind=\n$<2>, ip=$<1>, 
  5475.     is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
  5476.     is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy, 
  5477.     kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
  5478.     kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM, 
  5479.     kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  5480.     kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
  5481.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i, 
  5482.     kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M, 
  5483.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  5484.     khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~, 
  5485.     kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i, 
  5486.     mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, 
  5487.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
  5488.     rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l, 
  5489.     sc=\E7, 
  5490.     sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;, 
  5491.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  5492.     smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
  5493.     tbc=\E[3g, tsl=\E[>\,\001, 
  5494. #
  5495. #    This terminal description uses the non-hidden attribute mode
  5496. #    (with magic cookie).
  5497. #
  5498. wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
  5499.     msgr@, 
  5500.     ma@, xmc#1, 
  5501.     blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
  5502.     rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p, 
  5503.     sgr=\E[%{0}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{16}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{1}%|%;%?%p7%t%{4}%|%;%dp%?%p9%t\016%e\017%;, 
  5504.     sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p, 
  5505.     use=wy75, 
  5506. wy75-vb|wyse75-vb|wyse 75 with visible bell, 
  5507.     pb@, 
  5508.     bel@, use=wy75, 
  5509. wy75-w|wyse75-w|wyse 75 in 132 column mode, 
  5510.     cols#132, wsl#130, 
  5511.     rs2=\E[35h\E[?3h$<80>, use=wy75, 
  5512. wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
  5513.     pb@, 
  5514.     bel@, use=wy75-w, 
  5515. #
  5516. #    Wyse 85 emulating a vt220 7 bit mode.
  5517. #        24 line screen with status line.
  5518. #
  5519. #    The vt220 mode permits more function keys but it wipes out
  5520. #    the escape key.  I strongly recommend that <f11> be set to
  5521. #    escape (esc).
  5522. #    The terminal may have to be set for 8 data bits and 2 stop
  5523. #    bits for the arrow keys to work.
  5524. #    The Wyse 85 runs faster with XON/XOFF enabled.  Also the
  5525. #    <dch> and <ich> work best when XON/XOFF is set.  <ich> and
  5526. #    <dch> leave trash on the screen when used without XON/XOFF.
  5527. #
  5528. wy85|wyse85|wyse 85, 
  5529.     am, hs, mc5i, mir, msgr, xenl, xon, 
  5530.     cols#80, it#8, lines#24, wsl#80, 
  5531.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5532.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  5533.     clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
  5534.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  5535.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  5536.     cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
  5537.     dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
  5538.     dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
  5539.     ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
  5540.     enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
  5541.     fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
  5542.     ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
  5543.     ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
  5544.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
  5545.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
  5546.     kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
  5547.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP, 
  5548.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  5549.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  5550.     kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
  5551.     kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  5552.     kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
  5553.     knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, 
  5554.     lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
  5555.     ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
  5556.     rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p, 
  5557.     rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7, 
  5558.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5559.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  5560.     smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  5561.     tsl=\E[40h\E7\E[25;%i%p1%dH, 
  5562. #
  5563. #    Wyse 85 with visual bell.
  5564. wy85-vb|wyse85-vb|wyse 85 with visible bell, 
  5565.     bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85, 
  5566. #
  5567. #    Wyse 85 in 132-column mode.
  5568. wy85-w|wyse85-w|wyse 85 in 132-column mode, 
  5569.     cols#132, wsl#132, 
  5570.     rs2=\E[35h\E[?3h$<70>, use=wy85, 
  5571. #
  5572. #    Wyse 85 in 132-column mode with visual bell.
  5573. wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
  5574.     bel@, 
  5575.     use=wy85-w, 
  5576. #
  5577. #    Wyse 185 emulating a vt320 7 bit mode.
  5578. #
  5579. #    This terminal always displays 25 lines.  These lines may be used
  5580. #    as 24 data lines and a terminal status line (top or bottom) or
  5581. #    25 data lines.  The 48 and 50 line modes change the page size
  5582. #    and not the number of lines on the screen.
  5583. #
  5584. #    The Compose Character key can be used as a meta key if changed
  5585. #    by set-up.
  5586. #
  5587. wy185|wyse185|wyse 185, 
  5588.     am, hs, km, mc5i, mir, msgr, xenl, xon, 
  5589.     cols#80, it#8, lines#24, wsl#80, 
  5590.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5591.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  5592.     clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
  5593.     csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
  5594.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  5595.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  5596.     cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>, 
  5597.     dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
  5598.     dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
  5599.     el=\E[K, el1=\E[1K, enacs=\E)0, 
  5600.     flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8, 
  5601.     home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
  5602.     ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
  5603.     ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
  5604.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
  5605.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
  5606.     kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
  5607.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, 
  5608.     kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  5609.     kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
  5610.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
  5611.     kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
  5612.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
  5613.     khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  5614.     kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
  5615.     mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>, 
  5616.     rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>, 
  5617.     rmso=\E[27m, rmul=\E[24m, 
  5618.     rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
  5619.     rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
  5620.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5621.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
  5622.     smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
  5623.     tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
  5624. #
  5625. #    Wyse 185 with 24 data lines and top status (terminal status)
  5626. wy185-24|wyse185-24|wyse 185 with 24 data lines, 
  5627.     hs@, 
  5628.     dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy185, 
  5629. #
  5630. #    Wyse 185 with visual bell.
  5631. wy185-vb|wyse185-vb|wyse 185+flash, 
  5632.     bel@, use=wy185, 
  5633. #
  5634. #    Wyse 185 in 132-column mode.
  5635. wy185-w|wyse185-w|wyse 185 in 132-column mode, 
  5636.     cols#132, wsl#132, 
  5637.     dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
  5638.     ip=$<7>, rs2=\E[35h\E[?3h, 
  5639.     use=wy185, 
  5640. #
  5641. #    Wyse 185 in 132-column mode with visual bell.
  5642. wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
  5643.     bel@, use=wy185-w, 
  5644.  
  5645. # wy325 terminfo entries
  5646. # Done by Joe H. Davis        3-9-92
  5647.  
  5648. # lines 25  columns 80
  5649. #
  5650. wy325|wyse325|Wyse epc, 
  5651.     am, bw, hs, mc5i, mir, 
  5652.     cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
  5653.     acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  5654.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
  5655.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5656.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
  5657.     dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
  5658.     flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
  5659.     il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
  5660.     is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  5661.     is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
  5662.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  5663.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  5664.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  5665.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  5666.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
  5667.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
  5668.     mc0=\EP, mc4=^T, mc5=\Ed#, 
  5669.     pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  5670.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  5671.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
  5672.     rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
  5673.     rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
  5674.     rs3=\EwG\Ee($<100>, 
  5675.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%'0'%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  5676.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  5677.     smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
  5678.     tsl=\EF, 
  5679.     use=adm+sgr, 
  5680.  
  5681. #
  5682. # lines 24  columns 80  vb 
  5683. #
  5684. wy325-vb|wyse325-vb|wyse-325 with visual bell, 
  5685.     bel@, use=wy325, 
  5686.  
  5687. #
  5688. # lines 24  columns 132
  5689. #
  5690. wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
  5691.     cols#132, lw#7, nlab#16, wsl#97, 
  5692.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
  5693.     rs2=\E`;$<70>, use=wy325, 
  5694. #
  5695. # lines 25  columns 80
  5696. #
  5697. wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
  5698.     lh@, lines#25, lw@, nlab@, 
  5699.     pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
  5700. #
  5701. # lines 25  columns 132
  5702. #
  5703. wy325-25w|wyse325-25w|wy325 132 columns, 
  5704.     lh@, lines#25, lw@, nlab@, 
  5705.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
  5706. #
  5707. # lines 25  columns 132  vb 
  5708. #
  5709. wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
  5710.     bel@, 
  5711.     use=wy325-w, 
  5712.  
  5713. #
  5714. # lines 42  columns 80
  5715. #
  5716. wy325-42|wyse325-42|wyse-325 42 lines, 
  5717.     lh@, lines#42, lw@, nlab@, 
  5718.     pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
  5719. #
  5720. # lines 42  columns 132
  5721. #
  5722. wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
  5723.     lh@, lines#42, lw@, nlab@, 
  5724.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
  5725. #
  5726. # lines 42  columns 132  vb 
  5727. #
  5728. wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
  5729.     bel@, 
  5730.     use=wy325-w, 
  5731. #
  5732. # lines 43  columns 80
  5733. #
  5734. wy325-43|wyse325-43|wyse-325 43 lines, 
  5735.     lh@, lines#43, lw@, nlab@, 
  5736.     pln@, use=wy325, 
  5737. #
  5738. # lines 43  columns 132
  5739. #
  5740. wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
  5741.     lh@, lines#43, lw@, nlab@, 
  5742.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
  5743. #
  5744. # lines 43  columns 132  vb 
  5745. #
  5746. wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
  5747.     bel@, 
  5748.     use=wy325-w, 
  5749.  
  5750. #    Wyse 370 -- 24 line screen with status line.
  5751. #
  5752. #    The terminal may have to be set for 8 data bits and 2 stop
  5753. #    bits for the arrow keys to work.
  5754. #
  5755. #    If you change keyboards the terminal will send different
  5756. #    escape sequences.
  5757. #    The following definition is for the basic terminal without
  5758. #    function keys.
  5759. #
  5760. #    <u0> -> enter Tektronix 4010/4014 mode
  5761. #    <u1> -> exit  Tektronix 4010/4014 mode
  5762. #    <u2> -> enter ASCII mode (from any ANSI mode)
  5763. #    <u3> -> exit  ASCII mode (goto native ANSI mode)
  5764. #    <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
  5765. #    <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
  5766. #
  5767. # Bug: The <op> capability resets attributes.
  5768. wy370-nk|wyse 370 without function keys, 
  5769.     am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
  5770.     colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80, 
  5771.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5772.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  5773.     clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
  5774.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  5775.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  5776.     cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
  5777.     cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>, 
  5778.     dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
  5779.     dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
  5780.     el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
  5781.     flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8, 
  5782.     home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
  5783.     ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
  5784.     ind=\n$<2>, 
  5785.     initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
  5786.     invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
  5787.     is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
  5788.     is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
  5789.     mc5=\E[5i, 
  5790.     oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w, 
  5791.     op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
  5792.     rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
  5793.     rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
  5794.     rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
  5795.     rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw, 
  5796.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5797.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
  5798.     smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
  5799.     tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
  5800.     u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B, 
  5801.     u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd, 
  5802. #
  5803. #    Function key set for the ASCII (wy-50 compatible) keyboard
  5804. #    This is the default 370.
  5805. #
  5806. wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
  5807.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  5808.     kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i, 
  5809.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  5810.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i, 
  5811.     kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
  5812.     kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
  5813.     knp=\E[U, kpp=\E[V, 
  5814.     use=wy370-nk, 
  5815. #
  5816. #    Function key set for the VT-320 (and wy85) compatible keyboard
  5817. #
  5818. wy370-105k|Wyse 370 with 105 key keyboard, 
  5819.     ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, 
  5820.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  5821.     kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
  5822.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  5823.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  5824.     kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  5825.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  5826.     khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
  5827.     kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
  5828.     use=wy370-nk, 
  5829. #
  5830. #    Function key set for the PC compatible keyboard
  5831. #
  5832. wy370-EPC|Wyse 370 with 102 key keyboard, 
  5833.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  5834.     kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
  5835.     kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  5836.     kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  5837.     khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, 
  5838.     use=wy370-nk, 
  5839. #
  5840. #    Wyse 370 with visual bell.
  5841. wy370-vb|Wyse 370 with visible bell, 
  5842.     bel@, use=wy370, 
  5843. #
  5844. #    Wyse 370 in 132-column mode.
  5845. wy370-w|Wyse 370 in 132-column mode, 
  5846.     cols#132, wsl#132, 
  5847.     rs2=\E[35h\E[?3h$<70>, use=wy370, 
  5848. #
  5849. #    Wyse 370 in 132-column mode with visual bell.
  5850. wy370-wvb|Wyse 370 with visible bell 132-columns, 
  5851.     flash=\E[30h\E\,\E[30l$<300>, 
  5852.     use=wy370-w, 
  5853. wy370-rv|Wyse 370 reverse video, 
  5854.     rs3=\E[32h\E[?5h, use=wy370, 
  5855. #
  5856. #    Wyse 99gt Tektronix 4010/4014 emulator,
  5857. #
  5858. wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
  5859.     am, os, 
  5860.     cols#74, lines#35, 
  5861.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
  5862.     cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
  5863.     cuu1=^K, ff=^L, 
  5864.     hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
  5865.     home=^]7`x @\037, 
  5866.     hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
  5867.     is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
  5868. #
  5869. #    Wyse 160 Tektronix 4010/4014 emulator,
  5870. #
  5871. wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
  5872.     cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
  5873.     home=^]8`g @\037, 
  5874.     use=wy99gt-tek, 
  5875. #
  5876. #    Wyse 370 Tektronix 4010/4014 emulator,
  5877. #
  5878. wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
  5879.     am, os, 
  5880.     cols#80, lines#36, 
  5881.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
  5882.     cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037, 
  5883.     cuu1=^K, ff=^L, 
  5884.     hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
  5885.     home=^]8g @\037, 
  5886.     hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
  5887.     is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K, 
  5888.     nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
  5889.  
  5890. # Vendor-supplied Wyse entries end here.
  5891.  
  5892. #
  5893. #TITLE:  TERMINFO ENTRY WY520
  5894. #DATE:   8/5/93
  5895. # The WY520 terminfo is based on the WY285 entry published on the WYSE 
  5896. # BBS with the addition of more function keys and special keys.
  5897. #
  5898. #               rs1 -> set personality
  5899. #               rs2 -> set number of columns
  5900. #               rs3 -> set number of lines
  5901. #               is1 -> select the proper font
  5902. #               is2 -> do the initialization
  5903. #               is3 -> If this string is empty then rs3 gets sent.
  5904. #
  5905. #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
  5906. #       - The BS key is programmed to generate BS in smcup since
  5907. #         is2 doesn't seem to work.
  5908. #       - Remove and shift/Remove: delete a character
  5909. #       - Insert : enter insert mode
  5910. #       - Find   : delete to end of file
  5911. #       - Select : clear a line
  5912. #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
  5913. #       - F14 : Home key
  5914. #       - Bottom status line (host writable line) is used.
  5915. #       - smkx,rmkx are removed because this would put the numeric
  5916. #         keypad in Dec application mode which doesn't seem to work
  5917. #         with SCO applications.
  5918. #
  5919. wy520|wyse520|wyse 520, 
  5920.     am, hs, km, mc5i, mir, xenl, xon, 
  5921.     cols#80, it#8, lines#24, wsl#80, 
  5922.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  5923.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  5924.     clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
  5925.     csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
  5926.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  5927.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  5928.     cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>, 
  5929.     dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~, 
  5930.     ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
  5931.     enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
  5932.     hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
  5933.     il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
  5934.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h, 
  5935.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy, 
  5936.     kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
  5937.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~, 
  5938.     kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
  5939.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  5940.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  5941.     kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  5942.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  5943.     khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
  5944.     kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
  5945.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
  5946.     ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, 
  5947.     rmso=\E[m, rmul=\E[24m, 
  5948.     rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
  5949.     rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
  5950.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  5951.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, 
  5952.     smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  5953.     tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`, 
  5954.     vpa=\E[%i%p1%dd, 
  5955. #
  5956. #       Wyse 520 with 24 data lines and status (terminal status)
  5957. wy520-24|wyse520-24|wyse 520 with 24 data lines, 
  5958.     hs@, 
  5959.     dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520, 
  5960. #
  5961. #       Wyse 520 with visual bell.
  5962. wy520-vb|wyse520-vb|wyse 520 with visible bell, 
  5963.     flash=\E[30h\E\,\E[30l$<100>, use=wy520, 
  5964. #
  5965. #       Wyse 520 in 132-column mode.
  5966. wy520-w|wyse520-w|wyse 520 in 132-column mode, 
  5967.     cols#132, wsl#132, 
  5968.     dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
  5969.     ip=$<7>, rs2=\E[35h\E[?3h, 
  5970.     use=wy520, 
  5971. #
  5972. #       Wyse 520 in 132-column mode with visual bell.
  5973. wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
  5974.     flash=\E[30h\E\,\E[30l$<100>, 
  5975.     use=wy520-w, 
  5976. #
  5977. #
  5978. #       Wyse 520 emulating a vt420 7 bit mode.
  5979. #       The DEL key is programmed to generate BS in is2.
  5980. #       With EPC keyboard.
  5981. #       - 'End' key will clear till end of line on EPC keyboard
  5982. #       - Shift/End : ignored.
  5983. #       - Insert : enter insert mode.
  5984. #       - Delete : delete a character (have to change interrupt character
  5985. #                  to CTRL-C: stty intr '^c') for it to work since the
  5986. #                  Delete key sends 7FH.
  5987. wy520-epc|wyse520-epc|wyse 520 with EPC keyboard, 
  5988.     kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
  5989.     kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
  5990.     use=wy520, 
  5991. #
  5992. #       Wyse 520 with 24 data lines and status (terminal status)
  5993. #       with EPC keyboard.
  5994. wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines, 
  5995.     hs@, 
  5996.     dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, use=wy520-epc, 
  5997. #
  5998. #       Wyse 520 with visual bell.
  5999. wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell, 
  6000.     flash=\E[30h\E\,\E[30l$<100>, 
  6001.     use=wy520-epc, 
  6002. #
  6003. #       Wyse 520 in 132-column mode.
  6004. wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard, 
  6005.     cols#132, wsl#132, 
  6006.     dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
  6007.     ip=$<7>, rs2=\E[35h\E[?3h, 
  6008.     use=wy520-epc, 
  6009. #
  6010. #       Wyse 520 in 132-column mode with visual bell.
  6011. wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns, 
  6012.     flash=\E[30h\E\,\E[30l$<100>, 
  6013.     use=wy520-epc-w, 
  6014. #
  6015. #       Wyse 520 in 80-column, 36 lines
  6016. wy520-36|wyse520-36|wyse 520 with 36 data lines, 
  6017.     hs@, 
  6018.     lines#36, 
  6019.     dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520, 
  6020. #
  6021. #       Wyse 520 in 80-column, 48 lines
  6022. wy520-48|wyse520-48|wyse 520 with 48 data lines, 
  6023.     hs@, 
  6024.     lines#48, 
  6025.     dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520, 
  6026. #
  6027. #       Wyse 520 in 132-column, 36 lines
  6028. wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines, 
  6029.     cols#132, wsl#132, 
  6030.     rs2=\E[?3h, 
  6031.     rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36, 
  6032. #
  6033. #       Wyse 520 in 132-column, 48 lines
  6034. wy520-48w|wyse520-48w|wyse 520 with 48 data lines, 
  6035.     cols#132, wsl#132, 
  6036.     rs2=\E[?3h, 
  6037.     rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48, 
  6038. #
  6039. #
  6040. #       Wyse 520 in 80-column, 36 lines with EPC keyboard
  6041. wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard, 
  6042.     hs@, 
  6043.     lines#36, 
  6044.     dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, use=wy520-epc, 
  6045. #
  6046. #       Wyse 520 in 80-column, 48 lines with EPC keyboard
  6047. wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard, 
  6048.     hs@, 
  6049.     lines#48, 
  6050.     dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, use=wy520-epc, 
  6051. #
  6052. #       Wyse 520 in 132-column, 36 lines with EPC keyboard
  6053. wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard, 
  6054.     cols#132, wsl#132, 
  6055.     rs2=\E[?3h, 
  6056.     rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, use=wy520-36pc, 
  6057. #
  6058. #       Wyse 520 in 132-column, 48 lines with EPC keyboard
  6059. wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines, 
  6060.     cols#132, wsl#132, 
  6061.     rs2=\E[?3h, 
  6062.     rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, use=wy520-48pc, 
  6063.  
  6064. # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
  6065. # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
  6066. # file and we don't know what <hts> is -- esr)
  6067. wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
  6068.     am, 
  6069.     cols#80, it#8, lines#24, 
  6070.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  6071.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
  6072.     dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J, 
  6073.     is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, 
  6074.     kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O, 
  6075.     rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N, 
  6076.     smul=^N, 
  6077.  
  6078. wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
  6079.     is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
  6080.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  6081.     khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, 
  6082.     use=wy75, 
  6083.  
  6084. # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
  6085. wy100q|Wyse 100 for Quotron, 
  6086.     cols#80, lines#24, xmc#1, 
  6087.     cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
  6088.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  6089.     dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
  6090.     is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
  6091.     kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, 
  6092.     use=adm+sgr, 
  6093.  
  6094. #### Kermit terminal emulations
  6095. #
  6096. # Obsolete Kermit versions may be listed in the section describing obsolete
  6097. # non-ANSI terminal emulators later in the file.
  6098. #
  6099.  
  6100. # KERMIT standard all versions.
  6101. # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
  6102. # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
  6103. # From: greg small <gts@populi.berkeley.edu> 9-25-84
  6104. kermit|standard kermit, 
  6105.     cols#80, lines#24, 
  6106.     clear=\EE, cub1=^H, cuf1=\EC, 
  6107.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  6108.     el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n, 
  6109.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  6110. kermit-am|standard kermit plus auto-margin, 
  6111.     am, 
  6112.     is2=K1 Standard Kermit plus Automatic Margins\n, use=kermit, 
  6113. # IBMPC Kermit 1.2.
  6114. # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
  6115. # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
  6116. # line).
  6117. # From: greg small <gts@populi.berkeley.edu> 8-30-84
  6118. pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
  6119.     am, 
  6120.     lines#25, 
  6121.     clear=\EH\EJ, ed@, el@, 
  6122.     is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit, 
  6123. # IBMPC Kermit 1.20
  6124. # Cannot use line 25, now acts funny like ansi special scrolling region.
  6125. # Initialization must escape from that region by cursor position to line 24.
  6126. # Cannot use character insert because 1.20 goes crazy if insert at col 80.
  6127. # Does not use :am: because autowrap is lost when kermit dropped and restarted.
  6128. # From: greg small <gts@populi.berkeley.edu> 12-19-84
  6129. pckermit120|UCB IBMPC Kermit 1.20, 
  6130.     it#8, lines#24, 
  6131.     cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I, 
  6132.     il1=\EL, 
  6133.     is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
  6134.     rmir@, rmso=\Eq, smir@, smso=\Ep, 
  6135.     use=kermit, 
  6136. # MS-DOS Kermit 2.27 for the IBMPC
  6137. # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
  6138. # Cannot use line 25, now acts funny like ansi special scrolling region.
  6139. # Initialization must escape from that region by cursor position to line 24.
  6140. # Does not use am: because autowrap is lost when kermit dropped and restarted.
  6141. # Reverse video for standout like H19.
  6142. # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
  6143. # From: greg small <gts@populi.berkeley.edu> 3-17-85
  6144. msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
  6145.     am@, 
  6146.     cols#80, it#8, lines#24, 
  6147.     clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
  6148.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  6149.     cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK, 
  6150.     home=\EH, ht=^I, il1=\EL, 
  6151.     is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
  6152.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek, 
  6153.     rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep, 
  6154. # MS-DOS Kermit 2.27 with automatic margins
  6155. # From:    greg small <gts@populi.berkeley.edu> 3-17-85
  6156. msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
  6157.     am, 
  6158.     cvvis=\EO\Eq\EG\EvK5, 
  6159.     is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, use=msk227, 
  6160. # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
  6161. # Automatic margins now default.  Use ansi <sgr> for highlights.
  6162. # Define function keys.
  6163. # (msk22714: removed obsolete ":kn#10:" -- esr)
  6164. # From: greg small <gts@populi.berkeley.edu> 3-17-85
  6165. msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
  6166.     am, 
  6167.     bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
  6168.     is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
  6169.     kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, 
  6170.     kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
  6171.     sgr0=\E[m, smso=\E[1m, smul=\E[4m, 
  6172.     use=mskermit227, 
  6173. # This was designed for a VT320 emulator, but it is probably a good start
  6174. # at support for the VT320 itself.
  6175. # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
  6176. # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
  6177. vt320-k3|MS-Kermit 3.00's vt320 emulation, 
  6178.     am, eslok, hs, km, mir, msgr, xenl, 
  6179.     cols#80, it#8, lines#49, pb#9600, vt#3, 
  6180.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6181.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  6182.     clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
  6183.     csr=\E[%i%p1%d;%p1%dr, cub=\E[%p1%dD, cub1=^H, 
  6184.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  6185.     cup=\E[%i%p1%d;%p1%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  6186.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  6187.     dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  6188.     flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
  6189.     fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
  6190.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  6191.     is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD, 
  6192.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~, 
  6193.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  6194.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
  6195.     kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8, 
  6196.     rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l, 
  6197.     rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  6198.     rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E4i\E?4i\E[m\E[r\E[2$~, 
  6199.     sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
  6200.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  6201.     tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
  6202. # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
  6203. # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
  6204. # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
  6205. vt320-k311|dec vt320 series as defined by kermit 3.11, 
  6206.     am, eslok, hs, mir, msgr, xenl, xon, 
  6207.     cols#80, it#8, lines#24, vt#3, 
  6208.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6209.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  6210.     clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
  6211.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  6212.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  6213.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  6214.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  6215.     dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
  6216.     flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH, 
  6217.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED, 
  6218.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  6219.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  6220.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  6221.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
  6222.     lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
  6223.     rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O, 
  6224.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
  6225.     rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
  6226.     smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
  6227.     smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
  6228.  
  6229. ######## NON-ANSI TERMINAL EMULATIONS
  6230. #
  6231.  
  6232. #### Avatar
  6233. #
  6234. # These entries attempt to describe Avatar, a terminal emulation used with
  6235. # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
  6236. # capabilities, but with cheaper (shorter) control sequences.  Messy design,
  6237. # excessively dependent on PC idiosyncracies, but apparently rather popular
  6238. # in the BBS world.
  6239. #
  6240. # No color support.  Avatar doesn't fit either of the Tektronix or HP color
  6241. # models that terminfo knows about.  An Avatar color attribute is the
  6242. # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
  6243. #
  6244. # I wrote these entries while looking at the Avatar spec.  I don't have
  6245. # the facilities to test them.  Let me know if they work, or don't.
  6246. #
  6247. # Avatar escapes not used by these entries (because maybe you're smarter
  6248. # and more motivated than I am and can figure out how to wrap terminfo
  6249. # around some of them, and because they are weird enough to be funny):
  6250. #                level 0:
  6251. # ^L        -- clear window/reset current attribute to default
  6252. # ^V^A%p1%c    -- set current color attribute, parameter decodes as follows:
  6253. #      bit:         6   5   4   3   2   1   0
  6254. #                   |       |   |   |       |
  6255. #                   +---+---+   |   +---+---+
  6256. #                       |       |       |
  6257. #                       |       |  foreground color
  6258. #                       |  foreground intensity
  6259. #                  background color
  6260. #                level 0+:
  6261. # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c    -- scroll (p2,p3) to (p4,p5) up by p1 lines
  6262. # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c    -- scroll (p2,p3) to (p4,p5) down by p1 lines
  6263. # ^V^L%p1%c%p2%c%p3%c        -- clear p2 lines and p3 cols w/attr %p1 
  6264. # ^V^M%p1%c%p2%c%p3%c%p4%c    -- fill p3 lines & p4 cols w/char p2+attr %p1 
  6265. # (^V^L and ^V^M set the current attribute as a side-effect.)
  6266. # ^V ^Y <a> [...] <c>    -- repeat pattern. <a> specifies the number of bytes
  6267. #               in the pattern, <c> the number of times the pattern
  6268. #                 should be repeated. If either value is 0, no-op.
  6269. #               The pattern can contain Avatar console codes,
  6270. #               including other ^V ^Y patterns.
  6271. #                level 1:
  6272. # ^V^O        -- clockwise mode on; turn print direction right each time you
  6273. #           hit a window edge (yes, really).  Turned off by CR
  6274. # ^V^P        -- no-op
  6275. # ^V^Q%c    -- query the driver
  6276. # ^V^R        -- driver reset
  6277. # ^V^S        -- Sound tone (PC-specific)
  6278. # ^V^T            -- change highlight at current cursor poition to %c
  6279. # ^V^U%p1%c%p2%c    -- highlight window <a> with attribute <b>
  6280. # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
  6281. #            -- define window 
  6282. #
  6283. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  6284. # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
  6285. # tell ncurses that the corresponding highlights exist; it should use <sgr>,
  6286. # which is the only method that will actually work for multiple highlights.)
  6287. avatar0|avatar terminal emulator level 0, 
  6288.     am, bce, msgr, 
  6289.     cols#80, it#8, lines#25, 
  6290.     blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
  6291.     cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
  6292.     ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp, 
  6293.     rs2=^L, 
  6294.     sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
  6295.     sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, 
  6296.     use=klone+acs, 
  6297. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  6298. avatar0+|avatar terminal emulator level 0+, 
  6299.     dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0, 
  6300. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  6301. avatar|avatar1|avatar terminal emulator level 1, 
  6302.     civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
  6303.     rmam=^V", rmir=^V^P, smam=^V$, 
  6304.     use=avatar0+, 
  6305.  
  6306. #### RBcomm
  6307. #
  6308. # RBComm is a lean and mean terminal emulator written by the Interrupt List
  6309. # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
  6310. # '90s), especially in the BBS world, and still has some loyal users due to
  6311. # its very small memory footprint and to a cute macro language.
  6312. rbcomm|IBM PC with RBcomm and EMACS keybindings, 
  6313.     am, bw, mir, msgr, xenl, 
  6314.     cols#80, it#8, lines#25, 
  6315.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  6316.     clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  6317.     cub1=^H, cud1=^C, cuf1=^B, 
  6318.     cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, 
  6319.     cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z, 
  6320.     ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K, 
  6321.     ind=\ED, invis=\E[8m, 
  6322.     is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H, 
  6323.     kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED, 
  6324.     rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=, 
  6325.     rmir=^], rmkx=\E>, rmso=^U, rmul=^U, 
  6326.     rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m, 
  6327.     smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T, 
  6328. rbcomm-nam|IBM PC with RBcomm without autowrap, 
  6329.     am@, 
  6330.     bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
  6331.     is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H, 
  6332.     kcub1=^H, kcud1=^J, nel=^M^J, 
  6333.     use=rbcomm, 
  6334. rbcomm-w|IBM PC with RBcomm in 132 column mode, 
  6335.     cols#132, 
  6336.     bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
  6337.     is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H, 
  6338.     kcub1=^H, kcud1=^J, nel=^M^J, 
  6339.     use=rbcomm, 
  6340.  
  6341. ######## OLDER TERMINAL TYPES
  6342. #
  6343. # This section is devoted to older commercial terminal brands that are now
  6344. # discontinued, but known to be still in use or represented by emulations.
  6345. #
  6346.  
  6347. #### AT&T (att, tty)
  6348. #
  6349. # This section also includes Teletype-branded VDTs.
  6350. #
  6351. # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
  6352. # Boundless Technologies); for details, see the header comment on the ADDS
  6353. # section.
  6354. #
  6355. # These are AT&T's official terminfo entries.  All-caps aliases have been
  6356. # removed.
  6357. #
  6358. att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
  6359.     am, eo, mir, msgr, xon, 
  6360.     cols#80, it#8, lines#24, 
  6361.     bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  6362.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  6363.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  6364.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  6365.     el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
  6366.     il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
  6367.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  6368.     kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
  6369.     kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
  6370.     kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r, 
  6371.     kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H, 
  6372.     kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  6373.     rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
  6374.     smso=\E[7m, 
  6375. att2350|AT&T 2350 Video Information Terminal 80 column mode, 
  6376.     mc0@, mc4@, mc5@, 
  6377.     use=att2300, 
  6378.  
  6379. # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
  6380. # Seems upward compatible with vt100, plus ins/del line/char.
  6381. # On sgr, the protection parameter is ignored.
  6382. # No check is made to make sure that only 3 parameters are output.
  6383. #     standout= reverse + half-intensity = 3 | 5.
  6384. #     bold= reverse + underline = 2 | 3.
  6385. # note that half-bright blinking doesn't look different from normal blinking.
  6386. # NOTE:you must program the function keys first, label second!
  6387. # (att4410: a BSD entry has been seen with the following capabilities: 
  6388. # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
  6389. # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
  6390. att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
  6391.     am, hs, mir, msgr, xon, 
  6392.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
  6393.     acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6394.     bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
  6395.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  6396.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
  6397.     dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I, 
  6398.     ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
  6399.     is3=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW, 
  6400.     kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  6401.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
  6402.     kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, 
  6403.     ll=\E[24H, nel=^M^J, 
  6404.     pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
  6405.     pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
  6406.     rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
  6407.     sc=\E7, 
  6408.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  6409.     sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
  6410.     tsl=\E7\E[25;%p1%{1}%+%dH, 
  6411.  
  6412. att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
  6413.     cols#132, wsl#132, 
  6414.     is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1, 
  6415.  
  6416. att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
  6417.     pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, 
  6418.     use=att5410v1, 
  6419.  
  6420. att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
  6421.     cols#132, wsl#132, 
  6422.     is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410, 
  6423.  
  6424. # 5410 in terms of a vt100
  6425. # (v5410: added <rmam>/<smam> based on init string -- esr)
  6426. v5410|att5410 in terms of a vt100, 
  6427.     am, mir, msgr, xon, 
  6428.     cols#80, it#8, lines#24, vt#3, 
  6429.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6430.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  6431.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  6432.     cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
  6433.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P, 
  6434.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
  6435.     enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@, 
  6436.     il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
  6437.     kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  6438.     kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
  6439.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
  6440.     kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
  6441.     rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
  6442.     rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  6443.     sc=\E7, 
  6444.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  6445.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  6446.     smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  6447.  
  6448. # Teletype Model 5420 -- A souped up 5410, with multiple windows,
  6449. # even! the 5420 has three modes: scroll, window or page mode
  6450. # this terminfo should work in scroll or window mode, but doesn't
  6451. # take advantage of any of the differences between them.
  6452. #
  6453. # Has memory below (2 lines!)
  6454. # 3 pages of memory (plus some spare)
  6455. # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
  6456. # <hpa>, <hts> would work for these, but these work in both scroll and window
  6457. # mode... Unset insert character so insert mode works
  6458. # <is1> sets 80 column mode,
  6459. # <is2> escape sequence:
  6460. # 1) turn off all fonts
  6461. # 2) function keys off, keyboard lock off, control display off,
  6462. #    insert mode off, erasure mode off,
  6463. # 3) full duplex, monitor mode off, send graphics off, nl on lf off
  6464. # 4) reset origin mode
  6465. # 5) set line wraparound
  6466. # 6) exit erasure mode, positional attribute mode, and erasure extent mode
  6467. # 7) clear margins
  6468. # 8) program ENTER to transmit ^J,
  6469. # We use \212 to program the ^J because a bare ^J will get translated by
  6470. # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
  6471. #     1      2            3              4     5     6    7  8
  6472. # <is3> set screen color to black,
  6473. # No representation in terminfo for the delete word key: kdw1=\Ed
  6474. # Key capabilities assume the power-up send sequence...
  6475. # This <rmcup> is not strictly necessary, but it helps maximize 
  6476. # memory usefulness: <rmcup=\Ez>,
  6477. # Alternate sgr0:    <sgr0=\E[m\EW^O>,
  6478. # Alternate sgr:    <sgr=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;>,
  6479. # smkx programs the SYS PF keys to send a set sequence.
  6480. # It also sets up labels f1, f2, ..., f8, and sends edit keys.
  6481. # This string causes them to send the strings <kf1>-<kf8>
  6482. # when pressed in SYS PF mode.
  6483. # (att4415: I added <rmam>/<smam> based on the init string -- esr)
  6484. att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
  6485.     db, mir, xon, 
  6486.     lh#2, lm#78, lw#8, nlab#8, wsl#55, 
  6487.     cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD, 
  6488.     cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx, 
  6489.     cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP, 
  6490.     dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD, 
  6491.     flash=\E[?5h$<200>\E[?5l, home=\E[x, 
  6492.     hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@, 
  6493.     il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>, 
  6494.     is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212, 
  6495.     is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, 
  6496.     kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd, 
  6497.     kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
  6498.     kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
  6499.     kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
  6500.     lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, 
  6501.     mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
  6502.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
  6503.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 
  6504.     rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
  6505.     rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
  6506.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  6507.     sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
  6508.     smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
  6509.     tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
  6510.     use=att4410, 
  6511.  
  6512. att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
  6513.     cols#132, lm#54, wsl#97, 
  6514.     is1=\E[?3h$<100>, use=att4415, 
  6515.  
  6516. att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
  6517.     flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, 
  6518.     use=att4415, 
  6519.  
  6520. att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
  6521.     cols#132, lm#54, wsl#97, 
  6522.     flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, use=att4415, 
  6523.  
  6524. # Note that this mode permits programming USER PF KEYS and labels
  6525. # However, when you program user pf labels you have to reselect
  6526. # user pf keys to make them appear! 
  6527. att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
  6528.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  6529.     pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
  6530.     pln=\E[%p1%d;0;0;1q%p2%:-16.16s, 
  6531.  
  6532. att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
  6533.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  6534.     use=att4415+nl, use=att4415, 
  6535.  
  6536. att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
  6537.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  6538.     use=att4415+nl, use=att4415-rv, 
  6539.  
  6540. att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
  6541.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  6542.     use=att4415+nl, use=att4415-w, 
  6543.  
  6544. att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
  6545.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  6546.     use=att4415+nl, use=att4415-w-rv, 
  6547.  
  6548. att5420_2|AT&T 5420 model 2 80 cols, 
  6549.     am, db, hs, mir, msgr, xon, 
  6550.     cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
  6551.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6552.     blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j, 
  6553.     cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  6554.     cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C, 
  6555.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j, 
  6556.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  6557.     dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
  6558.     el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
  6559.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  6560.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
  6561.     invis=\E[8m, 
  6562.     is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;0j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, 
  6563.     kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
  6564.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
  6565.     kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, 
  6566.     kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
  6567.     kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
  6568.     kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
  6569.     lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, 
  6570.     mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
  6571.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
  6572.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8, 
  6573.     rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j, 
  6574.     rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
  6575.     sc=\E7, 
  6576.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  6577.     sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
  6578.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  6579.     tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
  6580. att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
  6581.     cols#132, 
  6582.     is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, use=att5420_2, 
  6583.  
  6584. att4418|att5418|AT&T 5418 80 cols, 
  6585.     am, xon, 
  6586.     cols#80, lines#24, 
  6587.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6588.     bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
  6589.     cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  6590.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  6591.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
  6592.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
  6593.     ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
  6594.     is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%, kcub1=\E@, 
  6595.     kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h, 
  6596.     kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I, 
  6597.     kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
  6598.     kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j, 
  6599.     kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8, 
  6600.     rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7, 
  6601.     sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
  6602. att4418-w|att5418-w|AT&T 5418 132 cols, 
  6603.     cols#132, 
  6604.     is1=\E[?3h, use=att5418, 
  6605.  
  6606. att4420|tty4420|teletype 4420, 
  6607.     da, db, eo, msgr, ul, xon, 
  6608.     cols#80, lines#24, lm#72, 
  6609.     bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC, 
  6610.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
  6611.     dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s, 
  6612.     kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
  6613.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH, 
  6614.     kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
  6615.     lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~, 
  6616.     rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
  6617.  
  6618. #  The following is a terminfo entry for the Teletype 4424
  6619. #  asynchronous keyboard-display terminal.  It supports
  6620. #  the vi editor.  The terminal must be set up as follows,
  6621. #     
  6622. #     HIGHLIGHT DEFINITION    3-TONE
  6623. #     DISPLAY FUNCTION    GROUP III
  6624. #     
  6625. #  The second entry below provides limited (a la adm3a)
  6626. #  operation under GROUP II.
  6627. #     
  6628. #  This must be used with DISPLAY FUNCTION GROUP I or III
  6629. #     and HIGHLIGHT DEFINITION 3-TONE
  6630. # The terminal has either bold or blink, depending on options
  6631. #
  6632. # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
  6633. att4424|tty4424|teletype 4424, 
  6634.     am, xon, 
  6635.     cols#80, lines#24, 
  6636.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6637.     bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M, 
  6638.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  6639.     cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC, 
  6640.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA, 
  6641.     dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM, 
  6642.     ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  6643.     ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h, 
  6644.     kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  6645.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  6646.     khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, 
  6647.     rmul=\EZ, 
  6648.     sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
  6649.     sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\, 
  6650.     tbc=\EF, 
  6651.  
  6652. att4424-1|tty4424-1|teletype 4424 in display function group I, 
  6653.     kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@, 
  6654.     use=att4424, 
  6655.  
  6656. # This entry is not one of AT&T's official ones, it was translated from the
  6657. # 4.4BSD termcap file.  The highlight strings are different from att4424.
  6658. # I have no idea why this is -- older firmware version, maybe?
  6659. # The following two lines are the comment originally attached to the entry:
  6660. # This entry appears to avoid the top line - I have no idea why.
  6661. # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
  6662. att4424m|tty4424m|teletype 4424M, 
  6663.     am, da, db, mir, 
  6664.     cols#80, it#8, lines#23, 
  6665.     bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  6666.     cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP, 
  6667.     dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>, 
  6668.     is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  6669.     kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  6670.     kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m, 
  6671.     sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  6672.  
  6673. # The Teletype 5425 is really version 2 of the Teletype 5420. It 
  6674. # is quite similar, except for some minor differences. No page 
  6675. # mode, for example, so all of the <cup> sequences used above have 
  6676. # to change back to what's being used for the 5410. Many of the 
  6677. # option settings have changed their numbering as well.
  6678. # This has been tested on a preliminary model.
  6679. #
  6680. # (att5425: added <rmam>/<smam> based on the init string -- esr)
  6681. att5425|tty5425|att4425|AT&T 4425/5425, 
  6682.     am, da, db, hs, mir, msgr, xenl, xon, 
  6683.     cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
  6684.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6685.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  6686.     clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
  6687.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  6688.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  6689.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  6690.     cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  6691.     dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, 
  6692.     el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
  6693.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
  6694.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  6695.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
  6696.     invis=\E[8m, is1=\E<\E[?3l$<100>, 
  6697.     is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212, 
  6698.     is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
  6699.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  6700.     kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, 
  6701.     kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
  6702.     kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T, 
  6703.     kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
  6704.     nel=^M^J, 
  6705.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  6706.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8, 
  6707.     rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 
  6708.     rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, 
  6709.     rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
  6710.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  6711.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  6712.     smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 
  6713.     smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 
  6714.     vpa=\E[%p1%{1}%+%dd, 
  6715.  
  6716. att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
  6717.     smkx=\E[21;1j\E[25;4j\Eent, 
  6718.     use=att4425, 
  6719.  
  6720. att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
  6721.     cols#132, lm#54, wsl#97, 
  6722.     is1=\E[?3h$<100>, use=tty5425, 
  6723.  
  6724. # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
  6725. # I also added <rmam>/<smam> -- esr)
  6726. att4426|tty4426|teletype 4426S, 
  6727.     am, da, db, xon, 
  6728.     cols#80, lines#24, lm#48, 
  6729.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6730.     bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, 
  6731.     cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  6732.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  6733.     cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
  6734.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H, 
  6735.     hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^, 
  6736.     il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS, 
  6737.     is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, 
  6738.     kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  6739.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
  6740.     kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
  6741.     nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT, 
  6742.     rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
  6743.     rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0, 
  6744.     smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g, 
  6745.     vpa=\E[%p1%dd, 
  6746.  
  6747. # Terminfo entry for the AT&T 510 A Personal Terminal
  6748. # Function keys 9 - 16 are available only after the 
  6749. # screen labeled (soft keys/action blocks) are labeled.  Function key
  6750. # 9 corresponds to the leftmost touch target on the screen,
  6751. # function key 16 corresponds to the rightmost.
  6752. #
  6753. # This entry is based on one done by Ernie Rice at Summit, NJ and
  6754. # changed by Anne Gallup, Skokie, IL, ttrdc!anne
  6755. att510a|bct510a|AT&T 510A Personal Terminal, 
  6756.     am, mir, msgr, xenl, xon, 
  6757.     cols#80, lh#2, lines#24, lw#7, nlab#8, 
  6758.     acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
  6759.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  6760.     civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
  6761.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
  6762.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  6763.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, 
  6764.     dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
  6765.     el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I, 
  6766.     hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l, 
  6767.     is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
  6768.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, 
  6769.     kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, 
  6770.     kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, 
  6771.     kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
  6772.     mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
  6773.     pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
  6774.     rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7, 
  6775.     sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
  6776.     sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
  6777.     smul=\E[4m, tbc=\E[3g, 
  6778.  
  6779. # Terminfo entry for the AT&T 510 D Personal Terminal
  6780. # Function keys 9 through 16 are accessed by bringing up the
  6781. # system blocks.
  6782. # Function key 9 corresponds to the leftmost touch target on the screen,
  6783. # function key 16 corresponds to the rightmost.
  6784. #
  6785. # There are problems with soft key labeling.  These are due to 
  6786. # strangenesses in the native terminal that are impossible to
  6787. # describe in a terminfo.  
  6788. att510d|bct510d|AT&T 510D Personal Terminal, 
  6789.     am, da, db, mir, msgr, xenl, xon, 
  6790.     cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
  6791.     acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
  6792.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  6793.     clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
  6794.     cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
  6795.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  6796.     cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
  6797.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
  6798.     el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, 
  6799.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  6800.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
  6801.     invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
  6802.     kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
  6803.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd, 
  6804.     kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi, 
  6805.     kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
  6806.     kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, 
  6807.     mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE, 
  6808.     pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
  6809.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
  6810.     rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, 
  6811.     rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, 
  6812.     rs2=\E[5;0|, sc=\E7, 
  6813.     sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  6814.     sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, 
  6815.     smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m, 
  6816.     smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
  6817.  
  6818. # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
  6819. att500|att513|AT&T 513 using page mode, 
  6820.     am, chts, mir, msgr, xenl, xon, 
  6821.     cols#80, lh#2, lines#24, lw#8, nlab#8, 
  6822.     acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
  6823.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  6824.     clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
  6825.     csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  6826.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  6827.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  6828.     cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m, 
  6829.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  6830.     enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
  6831.     hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  6832.     indn=\E[%p1%dE, invis=\E[8m, 
  6833.     is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
  6834.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
  6835.     kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
  6836.     kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, 
  6837.     kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
  6838.     kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY, 
  6839.     kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw, 
  6840.     kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, 
  6841.     kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  6842.     kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent, 
  6843.     kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
  6844.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, 
  6845.     khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
  6846.     kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
  6847.     kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
  6848.     kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB, 
  6849.     ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
  6850.     mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i, 
  6851.     nel=\EE, 
  6852.     pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
  6853.     pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
  6854.     pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
  6855.     pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
  6856.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
  6857.     rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
  6858.     rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
  6859.     rmul=\E[m, 
  6860.     rs1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l\E[2;0|\E[6;1|\E[8;0|\E[19;0|\E[1{\E[?99l, 
  6861.     rs2=\E[5;0|, sc=\E7, 
  6862.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  6863.     sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
  6864.     smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
  6865.     smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
  6866.  
  6867. # 01-07-88
  6868. # printer must be set to EMUL ANSI to accept ESC codes
  6869. # <cuu1> stops at top margin
  6870. # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
  6871. #    and alt font ascii,wrap on,tabs cleared
  6872. # <is2> disables newline on LF,Emphasized off
  6873. # The <u0> capability sets form length
  6874. att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
  6875.     xhpa, xvpa, 
  6876.     bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10, 
  6877.     orhi#100, orl#12, orvi#72, 
  6878.     cpi=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;, 
  6879.     cr=^M, 
  6880.     csnm=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;, 
  6881.     cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM, 
  6882.     ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r, 
  6883.     lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;, 
  6884.     rshm=\E[m, 
  6885.     scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;, 
  6886.     smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
  6887.     smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m, 
  6888.     u0=\E[%p1%dt, vpa=\E[%p1%dd, 
  6889.  
  6890. # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
  6891. # The following SET-UP modes are assumed for normal operation:
  6892. #    CR_DEF=CR    NL_DEF=INDEX    DUPLEX=FULL
  6893. # Other SET-UP modes may be set for operator convenience or communication
  6894. # requirements.  This termcap description is for the Resident Terminal Mode.
  6895. # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  6896. # The BRL entry also said: UNSAFE :ll=\E[70H:
  6897. att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs, 
  6898.     am, xon, 
  6899.     cols#88, it#8, lines#70, vt#3, 
  6900.     bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  6901.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  6902.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  6903.     home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  6904.     il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, 
  6905.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  6906.     kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT, 
  6907.     rs1=\Ec, sc=\E7, 
  6908.  
  6909. # 5620 terminfo  (2.0 or later ROMS with char attributes)
  6910. # The following SET-UP modes are assumed for normal operation:
  6911. #    DUPLEX=FULL    GEN_FLOW=ON    NEWLINE=INDEX    RETURN=CR
  6912. # Other SET-UP modes may be set for operator convenience or communication
  6913. # requirements.  This termcap description is for Resident Terminal Mode.  No
  6914. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  6915. # assumptions: <ind> (scroll forward one line) is only done at screen bottom
  6916. # Be aware that older versions of the dmd have a firmware bug that affects
  6917. # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
  6918. # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
  6919. # also has <ll>=\E[70H commented out and marked unsafe.
  6920. # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
  6921. att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
  6922.     am, msgr, npc, xon, 
  6923.     cols#88, it#8, lines#70, 
  6924.     bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
  6925.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  6926.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  6927.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
  6928.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
  6929.     indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  6930.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J, 
  6931.     pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T, 
  6932.     rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7, 
  6933.     sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
  6934. att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
  6935.     lines#24, use=att5620, 
  6936. att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
  6937.     lines#34, use=att5620, 
  6938. # 5620 layer running the "S" system's downloaded graphics handler:
  6939. att5620-s|tty5620-s|layer|vitty|5620 S layer, 
  6940.     am, 
  6941.     cols#80, it#8, lines#72, 
  6942.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
  6943.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED, 
  6944.     el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J, 
  6945.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  6946.     kll=\E[70;1H, 
  6947.  
  6948. # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
  6949. #
  6950. # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
  6951. # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
  6952. att605|AT&T 605 80 column 102key keyboard, 
  6953.     am, eo, xon, 
  6954.     cols#80, lines#24, lw#8, nlab#8, wsl#80, 
  6955.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6956.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  6957.     cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  6958.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  6959.     dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  6960.     el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  6961.     il1=\E[L, ind=^J, invis=\E[8m, 
  6962.     is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017, 
  6963.     kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
  6964.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  6965.     kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
  6966.     kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, 
  6967.     kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
  6968.     kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, 
  6969.     kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
  6970.     kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, 
  6971.     kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
  6972.     kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, 
  6973.     kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, 
  6974.     kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
  6975.     kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, 
  6976.     mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  6977.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  6978.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
  6979.     rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
  6980.     rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016, 
  6981.     smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
  6982.     tsl=\E7\E[25;%i%p1%dx, 
  6983. att605-pc|ATT 605 in pc term mode, 
  6984.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  6985.     cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
  6986.     dch1=\E[P, dl1=\E[M, ich1=\E[@, il=\E[L, il1=\E[L, kcbt=\E[Z, 
  6987.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  6988.     kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, 
  6989.     kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
  6990.     kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I, 
  6991.     rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g, 
  6992.     xonc=e, 
  6993.     use=att605, 
  6994. att605-w|AT&T 605-w 132 column 102 key keyboard, 
  6995.     cols#132, wsl#132, 
  6996.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, use=att605, 
  6997. # (att610: I added <rmam>/<smam> based on the init string.  I also
  6998. # added <indn> and <rin> because the BSD file says the att615s have them,
  6999. # and the 615 is like a 610 with a big keyboard, and most of their other
  7000. # smart terminals support the same sequence -- esr)
  7001. att610|AT&T 610; 80 column; 98key keyboard, 
  7002.     am, eslok, hs, mir, msgr, xenl, xon, 
  7003.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
  7004.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7005.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  7006.     clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
  7007.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  7008.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  7009.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7010.     cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  7011.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  7012.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
  7013.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  7014.     indn=\E[%p1%dS, invis=\E[8m, 
  7015.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
  7016.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
  7017.     kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  7018.     kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
  7019.     kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
  7020.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
  7021.     kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, 
  7022.     nel=\EE, 
  7023.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  7024.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
  7025.     ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
  7026.     rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
  7027.     sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  7028.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  7029.     smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx, 
  7030. att610-w|AT&T 610; 132 column; 98key keyboard, 
  7031.     cols#132, wsl#132, 
  7032.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610, 
  7033.  
  7034. att610-103k|AT&T 610; 80 column; 103key keyboard, 
  7035.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
  7036.     kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
  7037.     kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
  7038.     kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
  7039.     kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
  7040.     kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
  7041.     kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
  7042.     kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
  7043.     khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl, 
  7044.     knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
  7045.     kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq, 
  7046.     krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
  7047.     kslt=\ENI, kspd=\EOp, kund=\EOs, 
  7048.     use=att610, 
  7049. att610-103k-w|AT&T 610; 132 column; 103key keyboard, 
  7050.     cols#132, wsl#132, 
  7051.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att610-103k, 
  7052. att615|AT&T 615; 80 column; 98key keyboard, 
  7053.     kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
  7054.     kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
  7055.     kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
  7056.     kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
  7057.     kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
  7058.     kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
  7059.     kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
  7060.     use=att610, 
  7061. att615-w|AT&T 615; 132 column; 98key keyboard, 
  7062.     kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
  7063.     kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
  7064.     kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
  7065.     kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
  7066.     kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
  7067.     kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
  7068.     kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, 
  7069.     use=att610-w, 
  7070. att615-103k|AT&T 615; 80 column; 103key keyboard, 
  7071.     kLFT=\E[ A, kRIT=\E[ @, 
  7072.     use=att610-103k, 
  7073. att615-103k-w|AT&T 615; 132 column; 103key keyboard, 
  7074.     kLFT=\E[ A, kRIT=\E[ @, 
  7075.     use=att610-103k-w, 
  7076. # (att620: I added <rmam>/<smam> based on the init string and
  7077. # <rin>/<indn> from a BSD termcap -- esr)
  7078. att620|AT&T 620; 80 column; 98key keyboard, 
  7079.     am, eslok, hs, mir, msgr, xenl, xon, 
  7080.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
  7081.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7082.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  7083.     clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
  7084.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  7085.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  7086.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7087.     cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  7088.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  7089.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
  7090.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  7091.     indn=\E[%p1%dS, invis=\E[8m, 
  7092.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
  7093.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
  7094.     kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  7095.     kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
  7096.     kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
  7097.     kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, 
  7098.     kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
  7099.     kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, 
  7100.     kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
  7101.     kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, 
  7102.     kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
  7103.     kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
  7104.     kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
  7105.     mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  7106.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  7107.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
  7108.     ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 
  7109.     rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
  7110.     rs2=\Ec\E[?3l, sc=\E7, 
  7111.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  7112.     sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
  7113.     smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
  7114.     tsl=\E7\E[25;%i%p1%dx, 
  7115. att620-w|AT&T 620; 132 column; 98key keyboard, 
  7116.     cols#132, wsl#132, 
  7117.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620, 
  7118. att620-103k|AT&T 620; 80 column; 103key keyboard, 
  7119.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
  7120.     kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
  7121.     kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
  7122.     kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
  7123.     kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
  7124.     kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
  7125.     kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
  7126.     kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
  7127.     kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@, 
  7128.     kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, 
  7129.     kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@, 
  7130.     kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
  7131.     kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
  7132.     kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
  7133.     kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, 
  7134.     ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, 
  7135.     use=att620, 
  7136.  
  7137. att620-103k-w|AT&T 620; 132 column; 103key keyboard, 
  7138.     cols#132, wsl#132, 
  7139.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, use=att620-103k, 
  7140.  
  7141. # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
  7142. # The following SETUP modes are assumed for normal operation:
  7143. #    Local_Echo=Off    Gen_Flow=On    Return=CR    Received_Newline=LF
  7144. #    Font_Size=Large        Non-Layers_Window_Cols=80
  7145. #                Non-Layers_Window_Rows=60
  7146. # Other SETUP modes may be set for operator convenience or communication
  7147. # requirements.  Some capabilities assume a printer attached to the Aux EIA
  7148. # port.  This termcap description is for the Fixed Non-Layers Window.  No
  7149. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  7150. # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
  7151. att630|AT&T 630 windowing terminal, 
  7152.     am, da, db, mir, msgr, npc, xon, 
  7153.     cols#80, it#8, lines#60, lm#0, 
  7154.     bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
  7155.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  7156.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  7157.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  7158.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  7159.     el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  7160.     il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
  7161.     kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  7162.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M, 
  7163.     kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, 
  7164.     kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
  7165.     kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
  7166.     kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i, 
  7167.     mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
  7168.     rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
  7169.     rmul=\E[m, rs2=\Ec, sc=\E7, 
  7170.     sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
  7171.     sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  7172. att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
  7173.     lines#24, use=att630, 
  7174.  
  7175. # This entry was modified 3/13/90 by JWE.
  7176. # fixes include additions of <enacs>, correcting <rep>, and modification
  7177. # of <kHOM>.  (See comments below)
  7178. # att730 has status line of 80 chars
  7179. # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
  7180. # the <kf25> and up keys are used for shifted system Fkeys
  7181. # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
  7182. # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
  7183. # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
  7184. # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
  7185. # 102, 102+1, or 122 key keyboards
  7186. #       kHOM=\E[2J,
  7187. # (att730: I added <rmam>/<smam> based on the init string -- esr)
  7188. att730|AT&T 730 windowing terminal, 
  7189.     am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
  7190.     cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80, 
  7191.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7192.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  7193.     clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
  7194.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  7195.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  7196.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7197.     cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  7198.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  7199.     enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
  7200.     home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
  7201.     ind=\ED, invis=\E[8m, 
  7202.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
  7203.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
  7204.     kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  7205.     kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
  7206.     kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
  7207.     kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{, 
  7208.     kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD, 
  7209.     kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH, 
  7210.     kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
  7211.     kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf, 
  7212.     kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ, 
  7213.     kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg, 
  7214.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
  7215.     kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
  7216.     mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  7217.     pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%:-2d  %e;0;3q%;%p2%s, 
  7218.     pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s, 
  7219.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
  7220.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
  7221.     rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m, 
  7222.     rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, 
  7223.     sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  7224.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  7225.     smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h, 
  7226.     swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
  7227. att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
  7228.     lines#41, use=att730, 
  7229. att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
  7230.     lines#24, use=att730, 
  7231. att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
  7232.     flash=\E[?5l$<200>\E[?5h, 
  7233.     is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, use=att730, 
  7234. att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
  7235.     lines#41, use=att730r, 
  7236. att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
  7237.     lines#24, use=att730r, 
  7238.  
  7239. # The following represents the screen layout along with the associated
  7240. # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
  7241. # not appear on the screen but are shown to reference the bezel buttons.
  7242. # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
  7243. # position relative to the screen.
  7244. #
  7245. #
  7246. #
  7247. #      +----------------------------------------------------------------+
  7248. #      |                                                                |
  7249. # XXXX | kf0                                                       kf24 | XXXX
  7250. #      |                                                                |
  7251. #      |                                                                |
  7252. # XXXX | kf1                                                       kf23 | XXXX
  7253. #      |                                                                |
  7254. #      |                                                                |
  7255. # XXXX | kf2                                                       kf22 | XXXX
  7256. #      |                                                                |
  7257. #      |                                                                |
  7258. # XXXX | kf3                                                       kf21 | XXXX
  7259. #      |                                                                |
  7260. #      |                                                                |
  7261. # XXXX | kf4                                                       kf20 | XXXX
  7262. #      |                                                                |
  7263. #      |                                                                |
  7264. # XXXX | kf5                                                       kf19 | XXXX
  7265. #      |                                                                |
  7266. #      |                                                                |
  7267. # XXXX | kf6                                                       kf18 | XXXX
  7268. #      |                                                                |
  7269. #      |                                                                |
  7270. # XXXX |                                                                | XXXX
  7271. #      |                                                                |
  7272. #      |                                                                |
  7273. #      +----------------------------------------------------------------+
  7274. #
  7275. #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
  7276. #
  7277. # Note: XXXX represents the screen buttons
  7278. #                                                          CMD   REDRAW
  7279. #
  7280. #                                                          MAIL
  7281. #
  7282. # version 1 note: 
  7283. #    The character string sent by key 'kf26' may be user programmable
  7284. #       to send either \E[16s, or \E[26s.
  7285. #       The character string sent by key 'krfr' may be user programmable
  7286. #       to send either \E[17s, or \E[27s.
  7287. #
  7288. # Depression of the "CMD" key sends    \E!    (kcmd)
  7289. # Depression of the "MAIL" key sends   \E[26s (kf26)
  7290. # "REDRAW" same as "REFRESH" (krfr)
  7291. #
  7292. # "kf" functions adds carriage return to output string if terminal is in
  7293. # 'new line' mode.
  7294. #
  7295. # The following are functions not covered in the table above:
  7296. #
  7297. #       Set keyboard character (SKC): \EPn1;Pn2w
  7298. #                       Pn1= 0 Back Space key
  7299. #                       Pn1= 1 Break key
  7300. #                       Pn2=   Program char (hex)
  7301. #
  7302. #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
  7303. #                       Pn1=     Window number (1-39)
  7304. #                       Pn2-Pn5= Y;X;Y;X coordinates
  7305. #
  7306. #       Screen Selection (SSL): \E[Pnu
  7307. #                       Pn= Window number
  7308. #
  7309. #       Set Terminal Modes (SM): \E[Pnh
  7310. #                       Pn= 3 Graphics mode
  7311. #                       Pn= > Cursor blink
  7312. #                       Pn= < Enter new line mode
  7313. #                       Pn= = Enter reverse insert/replace mode
  7314. #                       Pn= ? Enter no scroll mode
  7315. #
  7316. #       Reset Terminal Mode (RM): \E[Pnl
  7317. #                       Pn= 3 Exit graphics mode
  7318. #                       Pn= > Exit cursor blink
  7319. #                       Pn= < Exit new line mode
  7320. #                       Pn= = Exit reverse insert/replace mode
  7321. #                       Pn= ? Exit no scroll mode
  7322. #
  7323. #       Screen Status Report (SSR): \E[Pnp
  7324. #                       Pn= 0 Request current window number
  7325. #                       Pn= 1 Request current window dimensions
  7326. #
  7327. #       Device Status Report (DSR): \E[6n    Request cursor position
  7328. #
  7329. #       Call Status Report (CSR): \E[Pnv
  7330. #                       Pn= 0 Call failed
  7331. #                       Pn= 1 Call successful
  7332. #
  7333. #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
  7334. #                       Pn1= Button number to be loaded
  7335. #                       Pn2= Character count of "string"
  7336. #                       Pn3= Key mode being loaded:
  7337. #                               0= Unshifted
  7338. #                               1= Shifted
  7339. #                               2= Control
  7340. #                       String= Text string (15 chars max)
  7341. #
  7342. #       Screen Number Report (SNR): \E[Pnp
  7343. #                       Pn= Screen number
  7344. #
  7345. #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
  7346. #                       Pn1= Number of rows available in window
  7347. #                       Pn2= Number of columns available in window
  7348. #
  7349. #       Cursor Position Report (CPR): \E[Pn1;Pn2R
  7350. #                       Pn1= "Y" Position of cursor
  7351. #                       Pn2= "X" Position of cursor
  7352. #
  7353. #       Request Answer Back (RAB): \E[c
  7354. #
  7355. #       Answer Back Response (ABR): \E[?;*;30;VSV
  7356. #                       *=  0 No printer available
  7357. #                       *=  2 Printer available
  7358. #                       V=  Software version number
  7359. #                       SV= Software sub version number
  7360. #    (printer-available field not documented in v1)
  7361. #
  7362. #       Screen Alignment Aid: \En
  7363. #
  7364. #       Bell (lower pitch): \E[x
  7365. #
  7366. #       Dial Phone Number: \EPdstring\
  7367. #                       string= Phone number to be dialed
  7368. #
  7369. #       Set Phone Labels: \EPpstring\
  7370. #                       string= Label for phone buttons
  7371. #
  7372. #       Set Clock: \EPchour;minute;second\
  7373. #
  7374. #       Position Clock: \EPsY;X\
  7375. #                       Y= "Y" coordinate
  7376. #                       X= "X" coordinate
  7377. #
  7378. #       Delete Clock: \Epr\
  7379. #
  7380. #       Programming The Function Buttons: \EPfPn;string\
  7381. #                       Pn= Button number (00-06, 18-24)
  7382. #                                         (kf00-kf06, kf18-kf24)
  7383. #                       string= Text to sent on button depression
  7384. #
  7385. # The following in version 2 only:
  7386. #
  7387. #       Request For Local Directory Data: \EPp12;\
  7388. #
  7389. #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
  7390. #
  7391. #    Request for Local Directory Data in print format: \EPp13;\
  7392. #
  7393. #    Enable 'Prt on Line' mode: \022 (DC2)
  7394. #
  7395. #    Disable 'Prt on Line' mode: \024 (DC4)
  7396. #
  7397.  
  7398. # 05-Aug-86:
  7399. # The following Terminfo entry describes functions which are supported by
  7400. # the AT&T 5430/pt505 terminal software version 2 and later.
  7401. att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
  7402.     am, xon, 
  7403.     cols#80, it#8, lines#24, 
  7404.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7405.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
  7406.     cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
  7407.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  7408.     cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7409.     cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  7410.     dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E2K, home=\E[H, ht=^I, 
  7411.     il=\E[%p1%dL, il1=\E[L, ind=^J, 
  7412.     is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
  7413.     kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  7414.     kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s, 
  7415.     kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s, 
  7416.     kf22=\E[22s, kf23=\E[23s, kf24=\E24s, kf26=\E26s, 
  7417.     kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s, 
  7418.     krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
  7419.     rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m, 
  7420.     rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m, 
  7421.     smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m, 
  7422.  
  7423. # The following Terminfo entry describes functions which are supported by
  7424. # the AT&T 5430/pt505 terminal software version 1.
  7425. att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
  7426.     lines#24, 
  7427.     mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505, 
  7428. tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
  7429.     lines#22, use=att505, 
  7430. #
  7431. # -------------------- TERMINFO FILE CAN BE SPLIT HERE -----------------------
  7432. # This cut mark helps make life less painful for people running ncurses tic
  7433. # on machines with relatively little RAM.  The file can be broken in half here
  7434. # cleanly and compiled in sections -- no `use' references cross this cut
  7435. # going forward.
  7436. #
  7437.  
  7438. #### Ampex (Dialogue)
  7439. #
  7440. # Yes, these are the same people who are better-known for making audio- and
  7441. # videotape.  I'm told they are located in Redwood City, CA.
  7442. #
  7443.  
  7444. # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
  7445. # (ampex80: some capabilities merged in from SCO's entry -- esr)
  7446. ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
  7447.     am, bw, ul, 
  7448.     cols#80, it#8, lines#24, 
  7449.     bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, 
  7450.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  7451.     dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, 
  7452.     ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em, 
  7453.     smso=\Ej, smul=\El, tbc=\E3, 
  7454. # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
  7455. ampex175|ampex d175, 
  7456.     am, 
  7457.     cols#80, lines#24, 
  7458.     bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  7459.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  7460.     dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
  7461.     is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  7462.     kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, 
  7463.     rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
  7464. # No backspace key in the main QWERTY cluster. Fortunately, it has a
  7465. # NEWLINE/PAGE key just above RETURN that sends a strange single-character
  7466. # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
  7467. # mode), this key can be used as the erase key; I find I like this. Because
  7468. # some people and some systems may not, there is another termcap ("ampex175")
  7469. # that suppresses this little eccentricity by omitting the relevant capability.
  7470. ampex175-b|ampex d175 using left arrow for erase, 
  7471.     kbs=^_, 
  7472.     use=ampex175, 
  7473. # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
  7474. # (ampex210: removed obsolete ":kn#10:" -- esr)
  7475. ampex210|a210|ampex a210, 
  7476.     am, hs, xenl, 
  7477.     cols#80, it#8, lines#24, xmc#1, 
  7478.     cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
  7479.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  7480.     dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX, 
  7481.     fsl=\E.2, home=^^, ht=^I, ich1=\EQ, 
  7482.     if=/usr/share/tabset/std, il1=\EE, invis@, 
  7483.     is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H, 
  7484.     kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
  7485.     kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
  7486.     kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^, 
  7487.     tsl=\E.0\Eg\E}\Ef, use=adm+sgr, 
  7488. # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
  7489. # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
  7490. # and moved the padding to be *after* the caps -- esr)
  7491. ampex219|ampex-219|amp219|Ampex with Automargins, 
  7492.     hs, xenl, 
  7493.     cols#80, it#8, lines#24, 
  7494.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z, 
  7495.     clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M, 
  7496.     csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
  7497.     cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
  7498.     cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>, 
  7499.     el=\E[K$<3>, home=\E[H, ht=^I, ind=^J, 
  7500.     is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  7501.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~, 
  7502.     kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~, 
  7503.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
  7504.     rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>, 
  7505.     rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h, 
  7506.     smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
  7507. ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
  7508.     cols#132, lines#24, 
  7509.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  7510.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219, 
  7511. # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr) 
  7512. ampex232|ampex-232|Ampex Model 232, 
  7513.     am, 
  7514.     cols#80, lines#24, xmc#1, 
  7515.     cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V, 
  7516.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  7517.     dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET, 
  7518.     flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>, 
  7519.     invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, 
  7520.     kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
  7521.     kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
  7522.     kf9=^AI\r, khome=^^, 
  7523.     use=adm+sgr, 
  7524. # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
  7525. ampex232w|Ampex Model 232 / 132 columns, 
  7526.     cols#132, lines#24, 
  7527.     is2=\E\034Eg\El, use=ampex232, 
  7528.  
  7529. #### Ann Arbor (aa)
  7530. #
  7531. # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
  7532. # numbers of function keys.  At least some used monitors in portrait mode,
  7533. # allowing up to 76-character screen heights!  They were reachable at:
  7534. #
  7535. #    Ann Arbor Terminals
  7536. #    6175 Jackson Road
  7537. #    Ann Arbor, MI 48103
  7538. #    (313)-663-8000
  7539. #
  7540. # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
  7541. # can't be found on the Web; I fear they're long dead.  R.I.P.
  7542. #
  7543.  
  7544.  
  7545. # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
  7546. # Highly modified 6/22 by Mike O'Brien.
  7547. # split out into several for the various screen sizes by dave-yost@rand
  7548. # Modifications made 3/82 by Mark Horton
  7549. # Modified by Tom Quarles at UCB for greater efficiency and more diversity
  7550. # status line moved to top of screen, <flash> removed 5/82
  7551. # Some unknown person at SCO then hacked the init strings to make them more
  7552. # efficient.
  7553. #
  7554. # assumes the following setup:
  7555. #   A menu: 0000 1010  0001 0000
  7556. #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
  7557. #   C menu: 56   66   0    0    9600  0110 1100
  7558. #   D menu: 0110 1001   1   0
  7559. #
  7560. #    Briefly, the settings are for the following modes:
  7561. #       (values are for bit set/clear with * indicating our preference
  7562. #        and the value used to test these termcaps)
  7563. #    Note that many of these settings are irrelevent to the terminfo
  7564. #    and are just set to the default mode of the terminal as shipped
  7565. #    by the factory.
  7566. #
  7567. # A menu: 0000 1010  0001 0000
  7568. #    Block/underline cursor*
  7569. #    blinking/nonblinking cursor*
  7570. #    key click/no key click*
  7571. #    bell/no bell at column 72*
  7572. #
  7573. #    key pad is cursor control*/key pad is numeric
  7574. #    return and line feed/return for <cr> key *
  7575. #    repeat after .5 sec*/no repeat
  7576. #    repeat at 25/15 chars per sec. *
  7577. #
  7578. #    hold data until pause pressed/process data unless pause pressed*
  7579. #    slow scroll/no slow scroll*
  7580. #    Hold in area/don't hold in area*
  7581. #    functions keys have default*/function keys disabled on powerup
  7582. #
  7583. #    show/don't show position of cursor during page transmit*
  7584. #    unused
  7585. #    unused
  7586. #    unused
  7587. #
  7588. # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
  7589. #    Baud rate (9600*)
  7590. #
  7591. #    2 bits of parity - 00=odd,01=even*,10=space,11=mark
  7592. #    1 stop bit*/2 stop bits
  7593. #    parity error detection off*/on
  7594. #
  7595. #    keyboard local/on line*
  7596. #    half/full duplex*
  7597. #    disable/do not disable keyboard after data transmission*
  7598. #
  7599. #    transmit entire page/stop transmission at cursor*
  7600. #    transfer/do not transfer protected characters*
  7601. #    transmit all characters/transmit only selected characters*
  7602. #    transmit all selected areas/transmit only 1 selected area*
  7603. #
  7604. #    transmit/do not transmit line separators to host*
  7605. #    transmit/do not transmit page tab stops tabs to host*
  7606. #    transmit/do not transmit column tab stop tabs to host*
  7607. #    transmit/do not transmit graphics control (underline,inverse..)*
  7608. #
  7609. #    enable*/disable auto XON/XOFF control
  7610. #    require/do not require receipt of a DC1 from host after each LF*
  7611. #    pause key acts as a meta key/pause key is pause*
  7612. #    unused
  7613. #
  7614. #    unused
  7615. #    unused
  7616. #    unused
  7617. #    unused
  7618. #
  7619. #    XON character (17*)
  7620. #    XOFF character (19*)
  7621. #
  7622. # C menu: 56   66   0    0    9600  0110 1100
  7623. #    number of lines to print data on (printer) (56*)
  7624. #
  7625. #    number of lines on a sheet of paper (printer) (66*)
  7626. #
  7627. #    left margin (printer) (0*)
  7628. #
  7629. #    number of pad chars on new line to printer (0*)
  7630. #
  7631. #    printer baud rate (9600*)
  7632. #
  7633. #    printer parity: 00=odd,01=even*,10=space,11=mark
  7634. #    printer stop bits: 2*/1
  7635. #    print/do not print guarded areas*
  7636. #
  7637. #    new line is: 01=LF,10=CR,11=CRLF*
  7638. #    unused
  7639. #    unused
  7640. #
  7641. # D menu: 0110 1001   1   0
  7642. #    LF is newline/LF is down one line, same column*
  7643. #    wrap to preceding line if move left from col 1*/don't wrap
  7644. #    wrap to next line if move right from col 80*/don't wrap
  7645. #    backspace is/is not destructive*
  7646. #
  7647. #    display*/ignore DEL character
  7648. #    display will not/will scroll*
  7649. #    page/column tab stops*
  7650. #    erase everything*/erase unprotected only
  7651. #
  7652. #    editing extent: 0=display,1=line*,2=field,3=area
  7653. #
  7654. #    unused
  7655. #
  7656.  
  7657. annarbor4080|aa4080|ann arbor 4080, 
  7658.     am, 
  7659.     cols#80, lines#40, 
  7660.     bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
  7661.     cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%'@'%+%c, 
  7662.     cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
  7663.     kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
  7664.  
  7665. # Strange Ann Arbor terminal from BRL
  7666. aas1901|Ann Arbor K4080 w/S1901 mod, 
  7667.     am, 
  7668.     cols#80, lines#40, 
  7669.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
  7670.     home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c, 
  7671.     nel=^M^J, 
  7672.  
  7673. # If you're using the GNU termcap library, add
  7674. #    :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
  7675. # to these capabilities.  This is the nonstandard GNU termcap scrolling
  7676. # capability, arguments are:
  7677. #   1. Total number of lines on the screen.
  7678. #   2. Number of lines above desired scroll region.
  7679. #   3. Number of lines below (outside of) desired scroll region.
  7680. #   4. Total number of lines on the screen, the same as the first parameter.
  7681. # The generic Ann Arbor entry is the only one that uses this.
  7682. aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
  7683.     am, km, mc5i, mir, xon, 
  7684.     cols#80, it#8, 
  7685.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  7686.     clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  7687.     cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
  7688.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7689.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  7690.     el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
  7691.     hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
  7692.     il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8, 
  7693.     is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
  7694.     kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  7695.     kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK, 
  7696.     kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP, 
  7697.     kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
  7698.     kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC, 
  7699.     kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI, 
  7700.     khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i, 
  7701.     mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, 
  7702.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
  7703.     rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
  7704.     rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
  7705.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  7706.     sgr0=\E[m, 
  7707.     smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
  7708.     smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
  7709.     vpa=\E[%p1%{1}%+%dd, 
  7710.  
  7711. aaa+rv|ann arbor ambassador in reverse video, 
  7712.     blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
  7713.     is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
  7714.     rs1=\E[H\E[7m\E[J$<156>, 
  7715.     sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
  7716.     sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
  7717. # Ambassador with the DEC option, for partial vt100 compatibility.
  7718. aaa+dec|ann arbor ambassador in dec vt100 mode, 
  7719.     acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
  7720.     csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
  7721.     sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
  7722.     smacs=^O, 
  7723. aaa-18|ann arbor ambassador/18 lines, 
  7724.     lines#18, 
  7725.     is2=\E7\E[60;0;0;18p\E8, 
  7726.     rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, use=aaa+unk, 
  7727. aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
  7728.     use=aaa+rv, use=aaa-18, 
  7729. aaa-20|ann arbor ambassador/20 lines, 
  7730.     lines#20, 
  7731.     is2=\E7\E[60;0;0;20p\E8, 
  7732.     rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, use=aaa+unk, 
  7733. aaa-22|ann arbor ambassador/22 lines, 
  7734.     lines#22, 
  7735.     is2=\E7\E[60;0;0;22p\E8, 
  7736.     rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, use=aaa+unk, 
  7737. aaa-24|ann arbor ambassador/24 lines, 
  7738.     lines#24, 
  7739.     is2=\E7\E[60;0;0;24p\E8, 
  7740.     rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, use=aaa+unk, 
  7741. aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
  7742.     use=aaa+rv, use=aaa-24, 
  7743. aaa-26|ann arbor ambassador/26 lines, 
  7744.     lines#26, 
  7745.     is2=\E7\E[60;0;0;26p\E8, 
  7746.     rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
  7747.     smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk, 
  7748. aaa-28|ann arbor ambassador/28 lines, 
  7749.     lines#28, 
  7750.     is2=\E7\E[60;0;0;28p\E8, 
  7751.     rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
  7752.     smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk, 
  7753. aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
  7754.     eslok, hs, 
  7755.     lines#29, 
  7756.     dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
  7757.     fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
  7758.     rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
  7759.     smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
  7760.     tsl=\E[>51h\E[1;%p1%dH\E[2K, 
  7761.     use=aaa+unk, 
  7762. aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
  7763.     use=aaa+rv, use=aaa-30-s, 
  7764. aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
  7765.     rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
  7766.     smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
  7767. aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video, 
  7768.     rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
  7769.     smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
  7770. aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
  7771.     lines#30, 
  7772.     is2=\E7\E[60;0;0;30p\E8, 
  7773.     rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
  7774.     smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk, 
  7775. aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
  7776.     use=aaa+rv, use=aaa-30, 
  7777. aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
  7778.     rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
  7779.     use=aaa-30, 
  7780. aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
  7781.     rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
  7782.     use=aaa+rv, use=aaa-30, 
  7783. aaa-36|ann arbor ambassador/36 lines, 
  7784.     lines#36, 
  7785.     is2=\E7\E[60;0;0;36p\E8, 
  7786.     rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
  7787.     smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk, 
  7788. aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
  7789.     use=aaa+rv, use=aaa-36, 
  7790. aaa-40|ann arbor ambassador/40 lines, 
  7791.     lines#40, 
  7792.     is2=\E7\E[60;0;0;40p\E8, 
  7793.     rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
  7794.     smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk, 
  7795. aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
  7796.     use=aaa+rv, use=aaa-40, 
  7797. aaa-48|ann arbor ambassador/48 lines, 
  7798.     lines#48, 
  7799.     is2=\E7\E[60;0;0;48p\E8, 
  7800.     rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
  7801.     smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk, 
  7802. aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
  7803.     use=aaa+rv, use=aaa-48, 
  7804. aaa-60-s|ann arbor ambassador/59 lines+status, 
  7805.     eslok, hs, 
  7806.     lines#59, 
  7807.     dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
  7808.     fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
  7809.     tsl=\E[>51h\E[1;%p1%dH\E[2K, 
  7810.     use=aaa+unk, 
  7811. aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
  7812.     use=aaa+rv, use=aaa-60-s, 
  7813. aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
  7814.     use=aaa+dec, use=aaa+rv, use=aaa-60-s, 
  7815. aaa-60|ann arbor ambassador/60 lines, 
  7816.     lines#60, 
  7817.     is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, use=aaa+unk, 
  7818. aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
  7819.     use=aaa+rv, use=aaa-60, 
  7820. aaa-db|ann arbor ambassador 30/destructive backspace, 
  7821.     cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, 
  7822.     use=aaa-30, 
  7823.  
  7824. guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
  7825.     lines#33, 
  7826.     flash=\E[>59h$<100>\E[>59l, 
  7827.     is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
  7828.     rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, 
  7829.     use=aaa+unk, 
  7830. guru+rv|guru changes for reverse video, 
  7831.     flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
  7832. guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
  7833.     use=guru+rv, use=guru-33, 
  7834. guru+s|guru status line, 
  7835.     eslok, hs, 
  7836.     dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l, 
  7837.     rmcup=\E[255;1p\E[255;1H\E[K, smcup=, 
  7838.     tsl=\E[>51h\E[1;%p1%dH\E[2K, 
  7839. guru-nctxt|guru with no saved context, 
  7840.     smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru, 
  7841. guru-s|guru-33-s|ann arbor guru/33 lines+status, 
  7842.     lines#32, 
  7843.     is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
  7844.     smcup=\E[33;1p\E[255;1H\E[K, 
  7845.     use=guru+s, use=guru+unk, 
  7846. guru-24|ann arbor guru 24 lines, 
  7847.     cols#80, lines#24, 
  7848.     is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, use=guru+unk, 
  7849. guru-44|ann arbor guru 44 lines, 
  7850.     cols#97, lines#44, 
  7851.     is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, use=guru+unk, 
  7852. guru-44-s|ann arbor guru/44 lines+status, 
  7853.     lines#43, 
  7854.     is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
  7855.     smcup=\E[44;1p\E[255;1H\E[K, 
  7856.     use=guru+s, use=guru+unk, 
  7857. guru-76|guru with 76 lines by 89 cols, 
  7858.     cols#89, lines#76, 
  7859.     is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, use=guru+unk, 
  7860. guru-76-s|ann arbor guru/76 lines+status, 
  7861.     cols#89, lines#75, 
  7862.     is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
  7863.     smcup=\E[76;1p\E[255;1H\E[K, 
  7864.     use=guru+s, use=guru+unk, 
  7865. guru-76-lp|guru-lp|guru with page bigger than line printer, 
  7866.     cols#134, lines#76, 
  7867.     is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, use=guru+unk, 
  7868. guru-76-w|guru 76 lines by 178 cols, 
  7869.     cols#178, lines#76, 
  7870.     is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, use=guru+unk, 
  7871. guru-76-w-s|ann arbor guru/76 lines+status+wide, 
  7872.     cols#178, lines#75, 
  7873.     is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
  7874.     smcup=\E[76;1p\E[255;1H\E[K, 
  7875.     use=guru+s, use=guru+unk, 
  7876. guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
  7877.     cols#178, lines#76, 
  7878.     is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, use=guru+unk, 
  7879. aaa-rv-unk|ann arbor unknown type, 
  7880.     lh#0, lw#0, nlab#0, 
  7881.     blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 
  7882.     is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
  7883.     rs1=\E[H\E[7m\E[J, 
  7884.     sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
  7885.     sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
  7886.  
  7887. #### Applied Digital Data Systems (adds)
  7888. #
  7889. # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
  7890. # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
  7891. # terminals was merged again.  Then AT&T sold the terminal business to
  7892. # SunRiver, which later changed its  name to Boundless Technologies.  The
  7893. # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
  7894. # as of early 1995) are at:
  7895. #
  7896. #    Boundless Technologies
  7897. #    100 Marcus Boulevard
  7898. #    Hauppauge, NY 11788-3762
  7899. #    Vox: (800)-231-5445
  7900. #    Fax: (516)-342-7378
  7901. #
  7902. # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
  7903. # In 1995 Boundless acquired DEC's terminals business.  
  7904. #
  7905.  
  7906. # Regent: lowest common denominator, works on all regents.
  7907. # (regent: renamed ":bc:" to ":le:" -- esr)
  7908. regent|Adds Regent Series, 
  7909.     am, 
  7910.     cols#80, lines#24, 
  7911.     bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z, 
  7912.     home=\EY\s\s, ind=^J, ll=^A, 
  7913. # Regent 100 has a bug where if computer sends escape when user is holding
  7914. # down shift key it gets confused, so we avoid escape.
  7915. regent100|Adds Regent 100, 
  7916.     xmc#1, 
  7917.     bel=^G, cup=\013%p1%{32}%+%c%p2%p2%{6}%*%+\020%c, 
  7918.     kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
  7919.     kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, 
  7920.     lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, 
  7921.     sgr0=\E0@, smso=\E0P, smul=\E0`, 
  7922.     use=regent, 
  7923. regent20|Adds Regent 20, 
  7924.     bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, use=regent, 
  7925. regent25|Adds Regent 25, 
  7926.     bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, use=regent20, 
  7927. regent40|Adds Regent 40, 
  7928.     xmc#1, 
  7929.     bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r, 
  7930.     kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
  7931.     kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, 
  7932.     lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, 
  7933.     smul=\E0`, 
  7934.     use=regent25, 
  7935. regent40+|Adds Regent 40+, 
  7936.     is2=\EB, use=regent40, 
  7937. regent60|regent200|Adds Regent 60, 
  7938.     dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF, 
  7939.     rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, 
  7940.     use=regent40+, 
  7941. # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
  7942. # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
  7943. viewpoint|addsviewpoint|adds viewpoint, 
  7944.     am, 
  7945.     cols#80, lines#24, 
  7946.     bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, 
  7947.     cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  7948.     cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>, 
  7949.     ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
  7950.     kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
  7951.     rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N, 
  7952. # Some viewpoints have bad ROMs that foo up on ^O
  7953. screwpoint|adds viewpoint with ^O bug, 
  7954.     cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint, 
  7955.  
  7956. # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
  7957. # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
  7958. # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
  7959. # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
  7960. # invis=01000100 and %c is the logical or of desired attributes.
  7961. # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
  7962. vp3a+|viewpoint3a+|adds viewpoint 3a+, 
  7963.     am, bw, 
  7964.     cols#80, it#8, lines#24, 
  7965.     civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J, 
  7966.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  7967.     ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
  7968.     kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
  7969.     sgr=\E0%'@'%?%p1%tQ%|%;%?%p2%t%'`'%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
  7970.     sgr0=\E(, smso=\E0Q\E), 
  7971. vp60|viewpoint60|addsvp60|adds viewpoint60, 
  7972.     use=regent40, 
  7973. #
  7974. # adds viewpoint 90 - from cornell
  7975. # Note:  emacs sends ei occasionally to insure the terminal is out of
  7976. #        insert mode. This unfortunately puts the viewpoint90 IN insert
  7977. #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
  7978. #   -    :ei=:im=: must be present in the termcap translation.)
  7979. #   -    <xhp> indicates glitch that attributes stick to location
  7980. #   -    <msgr> means it's safe to move in standout mode
  7981. #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
  7982. #               the status line
  7983. # Function key and label capabilities merged in from SCO.
  7984. vp90|viewpoint90|adds viewpoint 90, 
  7985.     bw, msgr, xhp, 
  7986.     cols#80, lines#24, 
  7987.     clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
  7988.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
  7989.     dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I, 
  7990.     ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J, 
  7991.     kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, 
  7992.     kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
  7993.     kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2, 
  7994.     lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, 
  7995.     lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, 
  7996.     sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
  7997. # Note: if return acts weird on a980, check internal switch #2
  7998. # on the top chip on the CONTROL pc board.
  7999. adds980|a980|adds consul 980, 
  8000.     am, 
  8001.     cols#80, lines#24, 
  8002.     bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
  8003.     cuf1=\E^E01, cup=\013%p1%'@'%+%c\E\005%p2%2d, 
  8004.     dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
  8005.     kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
  8006.     kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
  8007.  
  8008. #### C. Itoh Electronics
  8009. #
  8010. # As of 1995 these people no longer make terminals (they're still in the
  8011. # printer business).  Their terminals were all clones of the DEC VT series.
  8012. # They're located in Orange County, CA.
  8013. #
  8014.  
  8015. # CIT 80  - vt-52 emulator, the termcap has been modified to remove
  8016. #           the delay times and do an auto tab set rather than the indirect
  8017. #           file used in vt100.
  8018. cit80|cit-80|citoh 80, 
  8019.     am, 
  8020.     cols#80, lines#24, 
  8021.     clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
  8022.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, 
  8023.     ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  8024.     kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, 
  8025. # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
  8026. # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
  8027. cit101|citc|C.itoh fast vt100, 
  8028.     am, xenl, 
  8029.     cols#80, lines#24, 
  8030.     bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C, 
  8031.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U, 
  8032.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
  8033.     flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L, 
  8034.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
  8035.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  8036.     rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  8037.     sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
  8038.     smul=\E[4m, 
  8039. # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
  8040. # The following termcap entry was created from the Callan cd100 entry.  The
  8041. # last two lines (with the capabilities in caps) are used by RM-cobol to allow
  8042. # full selection of combinations of reverse video, underline, and blink.
  8043. # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
  8044. # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
  8045. # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
  8046. cit101e|C. Itoh CIT-101e, 
  8047.     am, mir, msgr, 
  8048.     cols#80, it#8, lines#24, 
  8049.     acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr, 
  8050.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
  8051.     cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J, 
  8052.     el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L, 
  8053.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT, 
  8054.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl, 
  8055.     kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
  8056.     rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
  8057.     smkx=\E=, smso=\E[7m, smul=\E[4m, 
  8058. # From: David S. Lawyer, June 1997:
  8059. # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
  8060. # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
  8061. # late 1980's CIT Terminals went out of business.
  8062. # There is no need to use the initialization string is=... (by invoking
  8063. # tset or setterm etc.) provided that the terminal has been manually set
  8064. # up (and the setup saved with ^S) to be compatible with this termcap.  To be
  8065. # compatible it should be in ANSI mode (not VT52).   A set-up that
  8066. # works is to set all the manually setable stuff to factory defaults
  8067. # by pressing ^D in set-up mode.  Then increse the brighness with the
  8068. # up-arrow key since the factory default will likely be dim on an old
  8069. # terminal.  Then change any options you want (provided that they are
  8070. # compatible with the termcap).  For my terminal I set: Screen
  8071. # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
  8072. # on.  I also set up mine for parity (but you may not need it).  Then 
  8073. # save the setup with ^S.
  8074. cit101e-rv|Citoh CIT-101e (sets reverse video), 
  8075.     am, eo, mir, msgr, xenl, xon, 
  8076.     cols#80, it#8, lines#24, 
  8077.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[1v, 
  8078.     clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M, 
  8079.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8080.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8081.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8082.     cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  8083.     dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>, 
  8084.     home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  8085.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
  8086.     is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
  8087.     kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8088.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
  8089.     rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
  8090.     rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7, sgr0=\E[m, 
  8091.     smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, smso=\E[7m, 
  8092.     smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, 
  8093.     u8=\E[?6c, u9=\E[c, 
  8094. cit101e-n|CIT-101e w/o am, 
  8095.     am@, 
  8096.     cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
  8097. cit101e-132|CIT-101e with 132 cols, 
  8098.     cols#132, 
  8099.     kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
  8100. cit101e-n132|CIT-101e with 132 cols w/o am, 
  8101.     am@, 
  8102.     cols#132, 
  8103.     cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
  8104. # CIE Terminals CIT-500 from BRL
  8105. # The following SET-UP modes are assumed for normal operation:
  8106. #    GENERATE_XON/XOFF:YES    DUPLEX:FULL        NEWLINE:OFF
  8107. #    AUTOWRAP:ON        MODE:ANSI        SCREEN_LENGTH:64_LINES
  8108. #    DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80        EDIT_MODE:OFF
  8109. # Other SET-UP modes may be set for operator convenience or communication
  8110. # requirements.
  8111. # Hardware tabs are assumed to be set every 8 columns; they can be set up
  8112. # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
  8113. # "stty ixon -ixany" to enable DC3/DC1 flow control!
  8114. # (cit500: I added <rmam>/<smam> based on the init string -- esr)
  8115. cit500|CIE Terminals CIT-500, 
  8116.     mir, msgr, xon, 
  8117.     cols#80, it#8, lines#64, vt#3, 
  8118.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  8119.     clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  8120.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  8121.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  8122.     cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  8123.     ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
  8124.     il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD, 
  8125.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M, 
  8126.     ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
  8127.     kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ, 
  8128.     khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1, 
  8129.     lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18, 
  8130.     lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m, 
  8131.     ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
  8132.     rmso=\E[m, rmul=\E[m, 
  8133.     rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>, 
  8134.     sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  8135.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  8136.  
  8137. # C. Itoh printers begin here
  8138. citoh|ci8510|8510|c.itoh 8510a, 
  8139.     cols#80, it#8, 
  8140.     bold=\E!, cub1@, 
  8141.     is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073., 
  8142.     rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
  8143.     smul=\EX, 
  8144.     use=lpr, 
  8145. citoh-pica|citoh in pica, 
  8146.     is1=\EN, use=citoh, 
  8147. citoh-elite|citoh in elite, 
  8148.     cols#96, 
  8149.     is1=\EE, 
  8150.     is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., use=citoh, 
  8151. citoh-comp|citoh in compressed, 
  8152.     cols#136, 
  8153.     is1=\EQ, 
  8154.     is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., use=citoh, 
  8155. # citoh has infinite cols because we don't want lp ever inserting \n\t**.
  8156. citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
  8157.     cols#32767, 
  8158.     is1=\EP, use=citoh, 
  8159. citoh-6lpi|citoh in 6 lines per inch mode, 
  8160.     is3=\EA, use=citoh, 
  8161. citoh-8lpi|citoh in 8 lines per inch mode, 
  8162.     lines#88, 
  8163.     is3=\EB, use=citoh, 
  8164.  
  8165. #### Control Data (cdc)
  8166. #
  8167.  
  8168. cdc456|cdc 456 terminal, 
  8169.     am, 
  8170.     cols#80, lines#24, 
  8171.     bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  8172.     cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X, 
  8173.     el=^V, home=^Y, il1=\EL, ind=^J, 
  8174.  
  8175. # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
  8176. cdc721|CDC Viking, 
  8177.     am, 
  8178.     cols#80, lines#24, 
  8179.     clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
  8180.     cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
  8181.     kcuu1=^W, khome=^Y, 
  8182. cdc721ll|CDC Vikingll, 
  8183.     am, 
  8184.     cols#132, lines#24, 
  8185.     clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
  8186.     cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
  8187.     kcuu1=^W, khome=^Y, 
  8188. # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
  8189. cdc752|CDC 752, 
  8190.     am, bw, xhp, 
  8191.     cols#80, lines#24, 
  8192.     bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  8193.     cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V, 
  8194.     home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017, 
  8195. # CDC 756
  8196. # The following switch/key settings are assumed for normal operation:
  8197. #    96 chars    SCROLL        FULL duplex    not BLOCK
  8198. # Other switches may be set according to communication requirements.
  8199. # Insert/delete-character cannot be used, as the whole display is affected.
  8200. # "so" & "se" are commented out until jove handles "sg" correctly.
  8201. cdc756|CDC 756, 
  8202.     am, bw, 
  8203.     cols#80, lines#24, 
  8204.     bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  8205.     cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, 
  8206.     dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J, 
  8207.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI, 
  8208.     kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, 
  8209.     kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y, 
  8210.     khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4, 
  8211.     lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z, 
  8212.     rs1=\031\030\002\003\017, 
  8213. #
  8214. # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
  8215. #
  8216. # Part of the long initialization string defines the "DOWN" key to the left
  8217. # of the tab key to send an ESC.  The real ESC key is positioned way out 
  8218. # in right field.
  8219. #
  8220. # The termcap won't work in 132 column mode due to the way it it moves the
  8221. # cursor.  Termcap doesn't have the capability (as far as I could tell) to
  8222. # handle the 721 in 132 column mode.
  8223. #
  8224. # (cdc721: changed :ri: to :sr: -- esr)
  8225. cdc721-esc|Control Data 721, 
  8226.     am, bw, msgr, xon, 
  8227.     cols#80, it#8, lines#30, 
  8228.     bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z, 
  8229.     cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
  8230.     dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
  8231.     ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
  8232.     is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o, 
  8233.     kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
  8234.     kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
  8235.     kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
  8236.     ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^], 
  8237.     sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk, 
  8238.     smso=^^D, smul=^\, tbc=^^^RY, 
  8239.  
  8240. #### Getronics
  8241. #
  8242. # Getronics is a Dutch electronics company that at one time was called 
  8243. # `Geveke' and made async terminals; but (according to the company itself!)
  8244. # they've lost all their documentation on the command set.  The hardware
  8245. # documentation suggests the terminals were actually manufactured by a
  8246. # Taiwanese electronics company named Cal-Comp.  There are known
  8247. # to have been at least two models, the 33 and the 50.
  8248. #
  8249.  
  8250. # The 50 seems to be a top end vt220 clone, with the addition of a higher
  8251. # screen resolution, a larger screen, at least 1 page of memory above and
  8252. # below the screen, apparently pages of memory right and left of the screen
  8253. # which can be panned, and about 75 function keys (15 function keys x normal,
  8254. # shift, control, func A, func B). It also has more setup possibilities than
  8255. # the vt220. The monitor case is dated November 1978 and the keyboard case is
  8256. # May 1982.
  8257. #
  8258. # The vt100 emulation works as is.  The entry below describes the rather
  8259. # non-conformant (but more featureful) ANSI mode.
  8260. #
  8261. # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
  8262. visa50|geveke visa 50 terminal in ansi 80 character mode, 
  8263.     bw, mir, msgr, 
  8264.     cols#80, lines#25, 
  8265.     acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
  8266.     blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
  8267.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  8268.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8269.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8270.     dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM, 
  8271.     dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H, 
  8272.     hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  8273.     il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
  8274.     is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
  8275.     ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS, 
  8276.     kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
  8277.     kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002, 
  8278.     kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
  8279.     kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char, 
  8280.     lf3=A insert line, lf4=A delete line, lf5=A clear, 
  8281.     lf6=A ce of/cf gn, lf7=A print, lf8=A on-line, 
  8282.     lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l, 
  8283.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, 
  8284.     rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, 
  8285.     smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
  8286.     vpa=\E[%i%p1%dd, 
  8287.  
  8288. #### Human Designed Systems (Concept)
  8289. #
  8290. #    Human Designed Systems
  8291. #    400 Fehley Drive
  8292. #    King of Prussia, PA 19406
  8293. #    Vox: (610)-277-8300
  8294. #    Fax: (610)-275-5739
  8295. #    Net: support@hds.com
  8296. # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
  8297. # the character-terminal business now (1995) and making X terminals.  In
  8298. # particular, the whole `Concept' line described here was discontinued long
  8299. # ago.
  8300. #
  8301.  
  8302. # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
  8303. # Extensive changes to c108 by arpavax:eric Feb 1982
  8304. # Some unknown person at SCO then translated it to terminfo.
  8305. #
  8306. # There seem to be a number of different versions of the C108 PROMS
  8307. # (with bug fixes in its Z-80 program).
  8308. # The first one that we had would lock out the keyboard of you
  8309. # sent lots of short lines (like /usr/dict/words) at 9600 baud.
  8310. # Try that on your C108 and see if it sends a ^S when you type it.
  8311. # If so, you have an old version of the PROMs.
  8312. # You should configure the C108 to send ^S/^Q before running this.
  8313. # It is much faster (at 9600 baud) than the c100 because the delays
  8314. # are not fixed.
  8315. # new status line display entries for c108-8p:
  8316. # <is3> - init str #3 - setup term for status display - 
  8317. # set programmer mode, select window 2, define window at last 
  8318. # line of memory, set bkgnd stat mesg there, select window 0.
  8319. # <tsl> - to status line - select window 2, home cursor, erase to 
  8320. # end-of-window, 1/2 bright on, goto(line#0, col#?)
  8321. # <fsl> - from status line - 1/2 bright off, select window 0
  8322. # <dsl> - disable status display - set bkgnd status mesg with 
  8323. # illegal window #
  8324. # There are probably more function keys that should be added but 
  8325. # I don't know what they are.
  8326. #
  8327. # No delays needed on c108 because of ^S/^Q handshaking
  8328. #
  8329. c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
  8330.     is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
  8331.     rmcup=\Ev  \001\177p\Ep\r\n, 
  8332.     use=c108-4p, 
  8333. c108-4p|concept108-4p|concept 108 w/4 pages, 
  8334.     eslok, hs, xon, 
  8335.     pb@, 
  8336.     acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M, 
  8337.     cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
  8338.     cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
  8339.     ind=^J, is1=\EK\E!\E F, 
  8340.     is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
  8341.     rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
  8342.     smcup=\EU\Ev  8p\Ep\r\E\025, 
  8343.     tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100, 
  8344. c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
  8345.     rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, 
  8346.     use=c108-rv-4p, 
  8347. c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
  8348.     flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, 
  8349.     use=c108-4p, 
  8350. c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
  8351.     cols#132, 
  8352.     is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
  8353.     smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p, 
  8354.  
  8355. # Concept 100:
  8356. # These have only window relative cursor addressing, not screen 
  8357. # relative. To get it to work right here, smcup/rmcup (which 
  8358. # were invented for the concept) lock you into a one page 
  8359. # window for screen style programs.
  8360. # To get out of the one page window, we use a clever trick:
  8361. # we set the window size to zero ("\Ev    " in rmcup) which the 
  8362. # terminal recognizes as an error and resets the window to all 
  8363. # of memory.
  8364. # This trick works on c100 but does not on c108, sigh.
  8365. # Some tty drivers use cr3 for concept, others use nl3, hence 
  8366. # the delays on cr and ind below. This padding is only needed at 
  8367. # 9600 baud and up.  One or the other is commented out depending on 
  8368. # local conventions.
  8369. # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
  8370. # less than 6 but more than 2 will work.
  8371. # Note: can't use function keys f7-f10 because they are 
  8372. # indistinguishable from arrow keys (!), also, del char and 
  8373. # clear eol use xon/xoff so they probably won't work very well.
  8374. # Also note that we don't define insrt/del char/delline/eop/send 
  8375. # because they don't transmit unless we reset them - I figured 
  8376. # it was a bad idea to clobber their definitions.
  8377. # The <mc5> sequence changes the escape character to ^^ so that 
  8378. # escapes will be passed through to the printer. Only trouble 
  8379. # is that ^^ won't be - ^^ was chosen to be unlikely. 
  8380. # Unfortunately, if you're sending raster bits through to be 
  8381. # plotted, any character you choose will be likely, so we lose.
  8382. #
  8383. # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
  8384. # cannot be # in is2 because it will hang a c100 with no printer 
  8385. # if sent twice.
  8386. c100|concept100|concept|c104|c100-4p|hds concept 100, 
  8387.     am, eo, mir, ul, xenl, 
  8388.     cols#80, lines#24, pb#9600, vt#8, 
  8389.     bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
  8390.     cub1=^H, cud1=^J, cuf1=\E=, 
  8391.     cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
  8392.     dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
  8393.     ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
  8394.     ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
  8395.     is1=\EK, 
  8396.     is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c, 
  8397.     is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
  8398.     kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
  8399.     kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
  8400.     kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
  8401.     khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
  8402.     kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027, 
  8403.     mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
  8404.     rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
  8405.     rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
  8406.     rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
  8407.     smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX, 
  8408.     smso=\ED, smul=\EG, 
  8409. c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
  8410.     cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, 
  8411.     smso=\EE, 
  8412.     use=c100, 
  8413. oc100|oconcept|c100-1p|old 1 page concept 100, 
  8414.     in, 
  8415.     is3@, use=c100, 
  8416.  
  8417. # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
  8418. # Lots of notes, originally inline, but ncurses doesn't grok that.
  8419. #
  8420. # am:     not available in power on mode, but turned on with \E[=107;207h in
  8421. #    is2=.  Also, \E=124l in is2= could have been used to prevent needing
  8422. #    to specify xenl:, but that would have rendered the last space on the
  8423. #    last line useless.
  8424. # bw:    Not available in power on mode, but turned on with \E[=107;207h in
  8425. #    is2=.
  8426. # clear: Could be done with \E[2J alone, except that vi (and probably most
  8427. #    other programs) assume that this also homes the cursor.
  8428. # dsl:    Go to window 2, go to the beginning of the line, use a line feed to
  8429. #    scroll the window, and go back to window 1.
  8430. # is2:    the string may cause a warning to be issued by tic that it
  8431. #    found a very long line and that it suspects that a comma is missing
  8432. #    somewhere.  This warning can be ignored (unless it comes up more than
  8433. #    once).  The initialization string contains the following commands:
  8434. #
  8435. #     [Setup mode items changed from factory defaults:]
  8436. #        \E)0            set alternate character set to
  8437. #                        graphics
  8438. #        ^O            set character set to default
  8439. #     [In case it wasn't]
  8440. #        \E[m            turn off all attributes
  8441. #     [In case they weren't off]
  8442. #        \E[=107;        cursor wrap and
  8443. #            207h            character wrap on
  8444. #        \E[90;3u        set Fkey definitions to "transmit"
  8445. #                        defaults
  8446. #        \E[92;3u        set cursor key definitions to
  8447. #                        "transmit" defaults
  8448. #        \E[43;1u        set shift F13 to transmit...
  8449. #        \177\E$P\177
  8450. #        \E[44;1u        set shift F14 to transmit...
  8451. #            \177\E$Q\177
  8452. #        \E[45;1u        set shift F15 to transmit...
  8453. #            \177\E$R\177
  8454. #        \E[46;1u        set shift F16 to transmit...
  8455. #            \177\E$S\177
  8456. #        \E[200;1u        set shift up to transmit...
  8457. #            \177\E$A\177
  8458. #        \E[201;1u        set shift down to transmit...
  8459. #            \177\E$B\177
  8460. #        \E[202;1u        set shift right to transmit...
  8461. #            \177\E$C\177
  8462. #        \E[203;1u        set shift left to transmit...
  8463. #            \177\E$D\177
  8464. #        \E[204;1u        set shift home to transmit...
  8465. #            \177\E$H\177
  8466. #        \E[212;1u        set backtab to transmit...
  8467. #            \177\E$I\177
  8468. #        \E[213;1u        set shift backspace to transmit...
  8469. #            \177\E$^H\177
  8470. #        \E[214;1u        set shift del to transmit...
  8471. #            "\E$\177"
  8472. #     [Necessary items not mentioned in setup mode:]
  8473. #        \E[2!w            move to window 2
  8474. #        \E[25;25w        define window as line 25 of memory
  8475. #        \E[!w            move to window 1
  8476. #        \E[2*w            show current line of window 2 as
  8477. #                        status line
  8478. #        \E[2+x            set meta key to use high bit
  8479. #        \E[;3+}            move underline to bottom of character
  8480. #
  8481. #    All Fkeys are set to their default transmit definitions with \E[90;3u
  8482. #    in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
  8483. #    setting MUST be redefined or deactivated, because the default is
  8484. #    contained in almost all of this terminal's Fkey strings!  If for some
  8485. #    reason "quit" cannot be altered, the Fkeys can, but it would be
  8486. #    necessary to change ^| to ^] in all of these definitions, and add
  8487. #    \E[2;029!t to is2.
  8488. # lines: is set to 24 because this terminal refuses to treat the 25th
  8489. #    line normally.
  8490. # ll:    Not available in power on mode, but turned on with \E[=107;207h in
  8491. #    is2=.
  8492. # lm:    Pointless, given that this definition locks a single screen of
  8493. #    memory into view, but what the hey...
  8494. # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
  8495. #    other attributes alone), but some programs expect this to turn off
  8496. #    everything.
  8497. # rmul: Could use \E[4!{ to turn off only underline (leaving any other
  8498. #    attributes alone), but some programs expect this to turn off
  8499. #    everything.
  8500. # sgr:    Attributes are set on this terminal with the string \E[ followed by
  8501. #    a list of attribute code numbers (in decimal, separated by
  8502. #    semicolons), followed by the character m.  The attribute code
  8503. #    numbers are:
  8504. #          1 for bold;
  8505. #          2 for dim (which is ignored in power on mode);
  8506. #          4 for underline;
  8507. #          5 for blinking;
  8508. #          7 for inverse;
  8509. #          8 for not displayable; and
  8510. #        =99 for protected (except that there are strange side
  8511. #        effects to protected characters which make them inadvisable).
  8512. #     The mapping of terminfo parameters to attributes is as follows:
  8513. #        %p1 (standout) = bold and inverse together;
  8514. #        %p2 (underline) = underline;
  8515. #        %p3 (reverse) = inverse;
  8516. #        %p4 (blink) = blinking;
  8517. #        %p5 (dim) is ignored;
  8518. #        %p6 (bold) = bold;
  8519. #        %p7 (invisible) = not displayable;
  8520. #        %p8 (protected) is ignored; and
  8521. #        %p9 (alt char set) = alt char set.
  8522. #     The code to do this is:
  8523. #        \E[0        OUTPUT    \E[0
  8524. #        %?%p1%p6%O    IF    (standout; bold) OR
  8525. #        %t;1        THEN    OUTPUT    ;1
  8526. #        %;        ENDIF
  8527. #        %?%p2        IF    underline
  8528. #        %t;4        THEN    OUTPUT    ;4
  8529. #        %;        ENDIF
  8530. #        %?%p4        IF    blink
  8531. #        %t;5        THEN    OUTPUT    ;5
  8532. #        %;        ENDIF
  8533. #        %?%p1%p3%O    IF    (standout; reverse) OR
  8534. #        %t;7        THEN    OUTPUT    ;7
  8535. #        %;        ENDIF
  8536. #        %?%p7        IF    invisible
  8537. #        %t;8        THEN    OUTPUT    ;8
  8538. #        %;        ENDIF
  8539. #        m        OUTPUT    m
  8540. #        %?%p9        IF    altcharset
  8541. #        %t^N        THEN    OUTPUT    ^N
  8542. #        %e^O        ELSE    OUTPUT    ^O
  8543. #        %;        ENDIF
  8544. # sgr0: Everything is turned off (including alternate character set), since
  8545. #    there is no way of knowing what it is that the program wants turned
  8546. #    off.
  8547. # smul: The "underline" attribute is reconfigurable to an overline or
  8548. #    strikethru, or (as done with \E[;3+} in is2=), to a line at the true
  8549. #    bottom of the character cell.  This was done to allow for more readable
  8550. #    underlined characters, and to be able to distinguish between an
  8551. #    underlined space, an underscore, and an underlined underscore.
  8552. # xenl: Terminal can be configured to not need this, but this "glitch"
  8553. #    behavior is actually preferable with autowrap terminals.
  8554. #
  8555. # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
  8556. # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
  8557. # string modifies the 'O' in kf43 to kf46 to a '$'.
  8558. #
  8559. # kcbt was originally ^I but redefined in is2=.
  8560. # kHOM was \E[H originally but redefined in is2=, as were a number of
  8561. # other keys.
  8562. # kDC was originally \177 but redefined in is2=.
  8563. #
  8564. # kbs:    Shift was also ^H originally but redefined as \E$^H in is2=.
  8565. # tsl:    Go to window 2, then do an hpa=.
  8566. #
  8567. #------- flash=\E[8;3!}^G\E[3;3!}
  8568. #------- flash=\E[?5h$<100>\E[?5l
  8569. # There are two ways to flash the screen, both of which have their drawbacks. 
  8570. # The first is to set the bell mode to video, transmit a bell character, and
  8571. # set the bell mode back - but to what?  There is no way of knowing what the
  8572. # user's old bell setting was before we messed with it.  Worse, the command to
  8573. # set the bell mode also sets the key click volume, and there is no way to say
  8574. # "leave that alone", or to know what it's set to, either.
  8575. # The second way to do a flash is to set the screen to inverse video, pad for a
  8576. # tenth of a second, and set it back - but like before, there's no way to know
  8577. # that the screen wasn't ALREADY in inverse video, or that the user may prefer
  8578. # it that way.  The point is moot anyway, since vi (and probably other
  8579. # programs) assume that by defining flash=, you want the computer to use it
  8580. # INSTEAD of bel=, rather than as a secondary type of signal.
  8581. #
  8582. #------- cvvis=\E[+{
  8583. # The is the power on setting, which is also as visible as the cursor
  8584. # gets.
  8585. #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
  8586. # Windowing is possible, but not defined here because it is also used to
  8587. # emulate status line functions.  Allowing a program to set a window could
  8588. # clobber the status line or render it unusable.  There is additional memory,
  8589. # but screen scroll functions are destructive and do not make use of it.
  8590. #
  8591. #-------   dim=            Not available in power on mode.
  8592. # You have a choice of defining low intensity characters as "half bright" and
  8593. # high intensity as "normal", or defining low as "normal" and high as "bold". 
  8594. # No matter which you choose, only one of either "half bright" or "bold" is
  8595. # available at any time, so taking the time to override the default is
  8596. # pointless.
  8597. #
  8598. #-------  prot=\E[=0;99m
  8599. # Not defined, because it appears to have some strange side effects.
  8600. #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
  8601. #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
  8602. #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
  8603. #     Available, but making them available to programs is inadvisable.
  8604. #     The code to do this is:
  8605. #        %?%p1%{24}%<    IF    ((key; 24) <;
  8606. #        %p1%{30}%>         ((key; 30) >;
  8607. #        %p1%{54}%<          (key; 54) <
  8608. #        %A             ) AND
  8609. #        %O              ) OR
  8610. #     [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
  8611. #        %t\E[        THEN    OUTPUT    \E[
  8612. #        %p1%d            OUTPUT    (key) as decimal
  8613. #     [next line applies to pfx only]
  8614. #        ;1            OUTPUT    ;1
  8615. #        u            OUTPUT    u
  8616. #        \177            OUTPUT    \177
  8617. #        %p2%s            OUTPUT    (string) as string
  8618. #        \177            OUTPUT    \177
  8619. #     [DEL chosen as delimiter, but could be any character]
  8620. #     [implied:        ELSE    do nothing]
  8621. #        %;        ENDIF
  8622. #    
  8623. #-------   rs2=
  8624. # Not defined since anything it might do could be done faster and easier with
  8625. # either Meta-Shift-Reset or the main power switch.
  8626. #
  8627. #-------  smkx=\E[1!z
  8628. #-------  rmkx=\E[!z
  8629. # These sequences apply to the cursor and setup keys only, not to the
  8630. # numeric keypad.  But it doesn't matter anyway, since making these
  8631. # available to programs is inadvisable.
  8632. # For the key definitions below, all sequences beginning with \E$ are
  8633. # custom and programmed into the terminal via is2.  \E$ also has no
  8634. # meaning to any other terminal.
  8635. #
  8636. #------- cmdch=\E[;%p1%d!t
  8637. # Available, but making it available to programs is inadvisable.
  8638. #------- smxon=\E[1*q
  8639. # Available, but making it available to programs is inadvisable.
  8640. # Terminal will send XON/XOFF on buffer overflow.
  8641. #------- rmxon=\E[*q
  8642. # Available, but making it available to programs is inadvisable.
  8643. # Terminal will not notify on buffer overflow.
  8644. #-------   smm=\E[2+x
  8645. #-------   rmm=\E[+x
  8646. # Available, but making them available to programs is inadvisable.
  8647. #
  8648. # Printing:
  8649. #     It's not made clear in the manuals, but based on other ansi/vt type
  8650. #     terminals, it's a good guess that this terminal is capable of both
  8651. #     "transparent print" (which doesn't copy data to the screen, and
  8652. #     therefore needs mc5i: specified to say so) and "auxilliary print"
  8653. #     (which does duplicate printed data on the screen, in which case mc4=
  8654. #     and mc5= should use the \E[?4i and \E[?5i strings instead).
  8655.  
  8656. hds200|Human Designed Systems HDS200, 
  8657.     am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
  8658.     cols#80, it#8, lines#24, lm#0, 
  8659.     acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
  8660.     blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{, 
  8661.     clear=\E[H\E[J, cnorm=\E[+{, cr=^M, 
  8662.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  8663.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8664.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8665.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  8666.     dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K, 
  8667.     fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
  8668.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  8669.     invis=\E[0;8m, 
  8670.     is2=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+}, 
  8671.     kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H, 
  8672.     kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8673.     kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r, 
  8674.     kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ, 
  8675.     kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r, 
  8676.     kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r, 
  8677.     kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r, 
  8678.     kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r, 
  8679.     kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r, 
  8680.     kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r, 
  8681.     kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r, 
  8682.     kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r, 
  8683.     kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r, 
  8684.     kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H, 
  8685.     kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A, 
  8686.     mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8, 
  8687.     rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017, 
  8688.     rmul=\E[m\017, sc=\E7, 
  8689.     sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8690.     sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m, 
  8691.     smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG, 
  8692.     vpa=\E[%i%p1%dd, 
  8693.  
  8694. # <ht> through <el> included to specify padding needed in raw mode.
  8695. # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
  8696. avt-ns|concept avt no status line, 
  8697.     am, eo, mir, ul, xenl, xon, 
  8698.     cols#80, it#8, lines#24, lm#192, 
  8699.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  8700.     clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
  8701.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8702.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  8703.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8704.     cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>, 
  8705.     dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H, 
  8706.     hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, 
  8707.     ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
  8708.     invis=\E8m, ip=$<4>, is1=\E[=103l\E[=205l, 
  8709.     is2=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\:0\:32!r\E[0*w\E[w\E2\r\n\E[2;27!t, 
  8710.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8711.     kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  8712.     kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, 
  8713.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  8714.     pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#, 
  8715.     prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
  8716.     ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, rmir=\E4l, 
  8717.     rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, sc=\E7, 
  8718.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  8719.     sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r, 
  8720.     smir=\E1, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
  8721.     tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
  8722. avt-rv-ns|concept avt in reverse video mode/no status line, 
  8723.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
  8724.     use=avt-ns, 
  8725. avt-w-ns|concept avt in 132 column mode/no status line, 
  8726.     is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
  8727.     use=avt-ns, 
  8728. avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
  8729.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
  8730.     smcup=\E[H\E[1;24;1;132w, 
  8731.     use=avt-ns, 
  8732.  
  8733. # Concept AVT with status line. We get the status line using the
  8734. # "Background status line" feature of the terminal. We swipe the
  8735. # first line of memory in window 2 for the status line, keeping
  8736. # 191 lines of memory and 24 screen lines for regular use.
  8737. # The first line is used instead of the last so that this works
  8738. # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
  8739. # assumes an 8 page AVT but lm isn't currently used anywhere.)
  8740. #
  8741. avt+s|concept avt status line changes, 
  8742.     eslok, hs, 
  8743.     lm#191, 
  8744.     dsl=\E[0*w, fsl=\E[1;1!w, 
  8745.     is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
  8746.     rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
  8747.     tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
  8748. avt|avt-s|concept-avt|avt w/80 columns, 
  8749.     use=avt+s, use=avt-ns, 
  8750. avt-rv|avt-rv-s|avt reverse video w/sl, 
  8751.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, use=avt+s, 
  8752.     use=avt-ns, 
  8753. avt-w|avt-w-s|concept avt 132 cols+status, 
  8754.     is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, use=avt+s, 
  8755.     use=avt-ns, 
  8756. avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
  8757.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
  8758.     smcup=\E[H\E[1;24;1;132w, 
  8759.     use=avt+s, use=avt-ns, 
  8760.  
  8761. #### Contel Business Systems. 
  8762. #
  8763.  
  8764. # Contel c300 and c320 terminals. 
  8765. contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
  8766.     am, in, xon, 
  8767.     cols#80, lines#24, xmc#1, 
  8768.     bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  8769.     cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  8770.     dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
  8771.     el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
  8772.     hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
  8773.     kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
  8774.     kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
  8775.     rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3, 
  8776. # Contel c301 and c321 terminals.
  8777. contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
  8778.     flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>, 
  8779.     use=contel300, 
  8780.  
  8781. #### Data General (dg)
  8782. #
  8783. # According to James Carlson <carlson@xylogics.com> writing in January 1995,
  8784. # the terminals group at Data General was shut down in 1991; all these
  8785. # terminals have thus been discontinued.
  8786. #
  8787.  
  8788. # According to the 4.4BSD termcap file, the dg200 <cup> should be the
  8789. # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
  8790. # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
  8791. # maybe they were originally nuls (which would fit).
  8792. dg200|data general dasher 200, 
  8793.     am, bw, 
  8794.     cols#80, lines#24, 
  8795.     bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
  8796.     cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J, 
  8797.     kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q, 
  8798.     kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
  8799.     kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
  8800.     smso=^^D, smul=^T, 
  8801. # Data General 210/211 (and 410?)    from Lee Pearson (umich!lp) via BRL
  8802. dg210|dg-ansi|Data General 210/211, 
  8803.     am, 
  8804.     cols#80, lines#24, 
  8805.     clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  8806.     ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, kcud1=\E[B, 
  8807.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, nel=\r\E[H\E[A\n, 
  8808.     rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, smul=\E[4;m, 
  8809. # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
  8810. # courtesy of Carlos Rucalde of Vantage Software, Inc.
  8811. # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
  8812. # I suspect the d200 function keys actually work on the dg211, check it out.)
  8813. dg211|Data General d211, 
  8814.     cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
  8815.     kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
  8816.     rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, 
  8817.     use=dg200, 
  8818. # dg450 from cornell
  8819. dg450|dg6134|data general 6134, 
  8820.     cub1@, cuf1=^X, use=dg200, 
  8821. # Note: lesser Dasher terminals will not work with vi because vi insists upon
  8822. # having a command to move straight down from any position on the bottom line
  8823. # and scroll the screen up, or a direct vertical scroll command.  The 460 and
  8824. # above have both, the D210/211, for instance, has neither.  We must use ANSI
  8825. # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
  8826. # backspace on all terminals.  This is not so in DG mode.
  8827. # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
  8828. # grounds that there is no matching ":ml:"
  8829. # fixed garbled ":k9=\E[00\:z:" capability -- esr)
  8830. dg460-ansi|Data General Dasher 460 in ANSI-mode, 
  8831.     am, msgr, ul, 
  8832.     cols#80, it#8, lines#24, 
  8833.     blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  8834.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
  8835.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
  8836.     il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, kcub1=\E[D, 
  8837.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[001z, 
  8838.     kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, kf4=\E[005z, 
  8839.     kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, kf8=\E[009z, 
  8840.     kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, lf3=f4, 
  8841.     lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, ri=\E[T, 
  8842.     rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  8843. # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw>
  8844. # Data General 605x     
  8845. # Ought to work for a Model 6242, Type D210 as well as a 605x.
  8846. # Note that the cursor-down key transmits ^Z.  Job control users, beware!
  8847. # This also matches a posted description of something called a `Dasher 100'
  8848. # so there's a dg100 alias here. 
  8849. # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
  8850. dg6053|dg100|data general 6053, 
  8851.     am, bw, ul, 
  8852.     cols#80, lines#24, 
  8853.     bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
  8854.     cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, home=^H, 
  8855.     ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, 
  8856.     kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, 
  8857.     kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, rmso=\0^^E, 
  8858.     rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, smul=^T, 
  8859.  
  8860. #### Datamedia (dm)
  8861. #
  8862. # Datamedia was headquartered in Nashua, New Hampshire in 1993.
  8863. # As of early 1996, at least one company called `Datamedia' has been taken
  8864. # over by:
  8865. #
  8866. #    Axent Technologies, Inc.
  8867. #    2400 Research Boulevard
  8868. #    Rockville, Maryland 20850
  8869. #    voice: +1 301/258-5043
  8870. #      fax: +1 301/330-5756
  8871. #    email: <info@axent.com>
  8872. #
  8873. # makers of OmniGuard client/server security software.  They are a software
  8874. # only company and no longer make terminals.  However, the operator there
  8875. # told me that she had once spoken to a customer looking for Datamedia
  8876. # terminals who'd mentioned a Datamedia in New Jersey.  This is backed up
  8877. # by comp.terminals poosting describing the ID plate on the back of a
  8878. # "Datamedia 3000" terminal.  Was this an earlier incarnation of Axent?
  8879. # Inquiring minds want to know...
  8880. #
  8881.  
  8882. cs10|colorscan|Datamedia Color Scan 10, 
  8883.     msgr, 
  8884.     cols#80, lines#24, 
  8885.     bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  8886.     cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  8887.     ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8888.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
  8889.     sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  8890. cs10-w|Datamedia Color Scan 10 with 132 columns, 
  8891.     cols#132, 
  8892.     cup=\E[%i%p1%02d;%p2%03dH, use=cs10, 
  8893.  
  8894. # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
  8895. dm1520|dm1521|datamedia 1520, 
  8896.     am, xenl, 
  8897.     cols#80, it#8, lines#24, 
  8898.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
  8899.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  8900.     home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
  8901.     khome=^Y, 
  8902. # dm2500: this terminal has both <ich> and <smir>. Applications using 
  8903. # termcap/terminfo directly (rather than through ncurses) might be confused.
  8904. dm2500|datamedia2500|datamedia 2500, 
  8905.     cols#80, lines#24, 
  8906.     bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
  8907.     cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
  8908.     dch1=\020\010\030\035$<10*>, 
  8909.     dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
  8910.     ich1=\020\034\030\035$<10*>, 
  8911.     il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
  8912.     rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
  8913.     smdc=^P, smir=^P, smso=^N, 
  8914. # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
  8915. # also, has a meta-key.
  8916. # From: <goldberger@su-csli.arpa>
  8917. # (dmchat: ":MT:" changed to ":km:" -- esr)
  8918. dmchat|dmchat version of datamedia 2500, 
  8919.     km, 
  8920.     dl1=\020\032\030\035$<2/>, 
  8921.     il1=\020\n\030\035\030\035$<1*/>, use=dm2500, 
  8922. # (dm3025: ":MT:" changed to ":km:" -- esr)
  8923. dm3025|datamedia 3025a, 
  8924.     km, 
  8925.     cols#80, it#8, lines#24, 
  8926.     bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  8927.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
  8928.     dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK, 
  8929.     home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, 
  8930.     is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, 
  8931.     smir=\EP, smso=\EO1, 
  8932. dm3045|datamedia 3045a, 
  8933.     am, eo, km@, ul, xenl, 
  8934.     dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA, 
  8935.     kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
  8936.     kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, 
  8937.     khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, 
  8938.     use=dm3025, 
  8939. # Datamedia DT80 soft switches:
  8940. # 1    0=Jump  1=Smooth
  8941. #     Autorepeat     0=off  1=on
  8942. #     Screen        0=Dark 1=light
  8943. #     Cursor        0=u/l  1=block
  8944. # 2    Margin Bell    0=off  1=on
  8945. #     Keyclick    0=off  1=on
  8946. #     Ansi/VT52    0=VT52 1=Ansi
  8947. #     Xon/Xoff    0=Off  1=On
  8948. # 3    Shift3        0=Hash 1=UK Pound
  8949. #     Wrap        0=Off  1=On
  8950. #     Newline        0=Off  1=On
  8951. #     Interlace    0=Off  1=On
  8952. #     
  8953. # 4    Parity        0=Odd  1=Even
  8954. #     Parity        0=Off  1=On
  8955. #     Bits/Char    0=7    1=8
  8956. #     Power        0=60Hz 1=50Hz
  8957. # 5    Line Interface  0=EIA  1=Loop
  8958. #     Aux Interface   0=EIA  1=Loop
  8959. #     Local Copy        0=Off  1=On    
  8960. #     Spare
  8961. # 6    Aux Parity    0=Odd  1=Even
  8962. #     Aux Parity    0=Off  1=On
  8963. #     Aux Bits/Char   0=7    1=8
  8964. #     CRT Saver    0=Off  1=On
  8965. # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
  8966. dm80|dmdt80|dt80|datamedia dt80/1, 
  8967.     clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
  8968.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  8969.     home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
  8970.     rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  8971.     use=vt100, 
  8972. # except in 132 column mode, where it needs a little padding.
  8973. # This is still less padding than the vt100, and you can always turn on
  8974. # the ^S/^Q handshaking, so you can use vt100 flavors for things like
  8975. # reverse video.
  8976. dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
  8977.     cols#132, 
  8978.     clear=\E[H\E[2J$<50/>, cud1=^J, 
  8979.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
  8980.     ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80, 
  8981. # From: Adam Thompson <thompson@xanth.magic.mb.ca> Sept 10 1995
  8982. dt80-sas|Datamedia DT803/DTX for SAS usage, 
  8983.     am, bw, 
  8984.     cols#80, lines#24, 
  8985.     acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
  8986.     bel=^G, clear=^L, cr=^M, 
  8987.     csr=\E=%p1%' '%+%c%' '%c\E#1\E=%p2%' '%+%c%' '%c\E#2, 
  8988.     cub1=^H, cud1=\EB, cuf1=^\, 
  8989.     cup=\E=%p2%' '%+%c%p1%' '%+%c, cuu1=^_, dl1=\EM, ed=^K, 
  8990.     el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
  8991.     is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
  8992.     kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
  8993.     rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
  8994.     smso=\E$2\004, tbc=\E'0, 
  8995.  
  8996. # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
  8997. # These aren't end-all Excel termcaps; but do insert/delete char/line
  8998. # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
  8999. # The naming convention has been bent somewhat, with the use of E? (where
  9000. # E is for 'Excel') as # a name.  This was done to distinguish the entries
  9001. # from the other Datamedias in use here, and yet to associate a model of
  9002. # the Excel terminals with the regular datamedia terminals that share
  9003. # major characteristics.
  9004. excel62|excel64|datamedia Excel 62, 
  9005.     dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
  9006.     kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
  9007.     use=dt80, 
  9008. excel62-w|excel64-w|datamedia Excel 62 in 132 char mode, 
  9009.     dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
  9010.     kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
  9011.     use=dt80w, 
  9012. excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode, 
  9013.     dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J, 
  9014.     kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, 
  9015.     smir=\E[4h, 
  9016.     use=dt80, 
  9017.  
  9018. #### Falco
  9019. #
  9020. #    Falco Data Products
  9021. #    440 Potrero Avenue
  9022. #    Sunnyvale, CA 940864-196
  9023. #    Vox: (800)-325-2648
  9024. #    Fax: (408)-745-7860
  9025. #    Net: techsup@charm.sys.falco.com
  9026. #
  9027. # Current Falco models as of 1995 are generally ANSI-compatible and support
  9028. # emulations of DEC VT-series, Wyse, and Televideo types.
  9029. #
  9030.  
  9031. # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
  9032. # This terminal was released around 1983 and was discontinued long ago.
  9033. # The standout and underline highlights are the same.
  9034. falco|ts1|ts-1|falco ts-1, 
  9035.     am, 
  9036.     cols#80, it#8, lines#24, 
  9037.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  9038.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  9039.     dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE, 
  9040.     ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  9041.     kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, 
  9042.     smir=\Eq, smso=\Eg1, smul=\Eg1, 
  9043. falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
  9044.     am, da, db, mir, msgr, ul, 
  9045.     cols#80, it#8, lines#24, 
  9046.     bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, 
  9047.     cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
  9048.     dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I, 
  9049.     il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B, 
  9050.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er, 
  9051.     rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq, 
  9052.     smso=\Eg4, smul=\Eg1, 
  9053. # (ts100: I added <rmam>/<smam> based on the init string -- esr)
  9054. ts100|ts100-sp|falco ts100-sp, 
  9055.     am, mir, msgr, xenl, xon, 
  9056.     cols#80, it#8, lines#24, vt#3, 
  9057.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  9058.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  9059.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  9060.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  9061.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  9062.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  9063.     cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
  9064.     el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, 
  9065.     ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea, 
  9066.     ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, 
  9067.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
  9068.     kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  9069.     kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
  9070.     rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  9071.     rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
  9072.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  9073.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  9074.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  9075.     smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  9076. ts100-ctxt|falco ts-100 saving context, 
  9077.     rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100, 
  9078.  
  9079. #### Florida Computer Graphics
  9080. #
  9081.  
  9082. # Florida Computer Graphics Beacon System, using terminal emulator program
  9083. # "host.com", as provided by FCG.  This description is for an early release
  9084. # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
  9085. # commented out.
  9086.  
  9087. # From: David Bryant <cbosg!djb> 1/7/83
  9088. beacon|FCG Beacon System, 
  9089.     am, da, db, 
  9090.     cols#80, lines#32, 
  9091.     bel=\ESTART\r\E37\r\EEND\r$<1>, 
  9092.     blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M, 
  9093.     cub1=^H, cud1=^J, cuf1=\EV, 
  9094.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
  9095.     dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE, 
  9096.     ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=, 
  9097.     rmso=\ESTART\r\E70\,0\r\EEND\r$<20>, 
  9098.     rmul=\ESTART\r\E60\,0\r\EEND\r, 
  9099.     sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>, 
  9100.     smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>, 
  9101.     smso=\ESTART\r\E70\,6\r\EEND\r$<20>, 
  9102.     smul=\ESTART\r\E60\,1\r\EEND\r, 
  9103.  
  9104. #### Fluke
  9105. #
  9106.  
  9107. # The f1720a differences from ANSI: no auto margin, destructive 
  9108. # tabs, # of lines, funny highlighting and underlining
  9109. f1720|f1720a|fluke 1720A, 
  9110.     xt, 
  9111.     cols#80, lines#16, xmc#1, 
  9112.     bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
  9113.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, 
  9114.     el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^], 
  9115.     kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  9116.     smso=\E[7m, smul=\E[4m, 
  9117.  
  9118. #### Liberty Electronics (Freedom)
  9119. #
  9120. #    Liberty Electronics
  9121. #    48089 Fremont Blvd
  9122. #    Fremont CA 94538
  9123. #    Vox: (510)-623-6000
  9124. #    Fax: (510)-623-7021
  9125.  
  9126. # From: <faletti@berkeley.edu>
  9127. # (f100: added empty <acsc> to suppress a tic warning;
  9128. # made this relative to adm+sgr -- note that <invis> isn't
  9129. # known to work for f100 but does on the f110. --esr)
  9130. f100|freedom|freedom100|freedom model 100, 
  9131.     am, bw, hs, mir, msgr, xon, 
  9132.     cols#80, lines#24, 
  9133.     acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
  9134.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  9135.     dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
  9136.     flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c, 
  9137.     ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>, 
  9138.     is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, 
  9139.     kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
  9140.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  9141.     kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er, 
  9142.     smacs=\E%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
  9143.     vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
  9144. f100-rv|freedom-rv|freedom 100 in reverse video, 
  9145.     flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100, 
  9146. # The f110 and f200 have problems with vi(1).  They use the ^V
  9147. # code for the down cursor key. When kcud1 is defined in terminfo
  9148. # as ^V, the Control Character Quoting capability (^V in insert mode)
  9149. # is lost! It cannot be remapped in vi because it is necessary to enter
  9150. # a ^V to to quote the ^V that is being remapped!!!
  9151. # f110/f200 users will have to decide whether
  9152. # to lose the down cursor key or the quoting capability. We will opt
  9153. # initially for leaving the quoting capability out, since use of VI
  9154. # is not generally applicable to most interactive applications
  9155. # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
  9156. f110|freedom110|Liberty Freedom 110, 
  9157.     bw@, eslok, 
  9158.     it#8, wsl#80, 
  9159.     blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V, 
  9160.     cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
  9161.     flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW, 
  9162.     kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, 
  9163.     kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO, 
  9164.     smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, 
  9165.     use=f100, 
  9166. f110-14|Liberty Freedom 110 14inch, 
  9167.     dch1@, use=f110, 
  9168. f110-w|Liberty Freedom 110 - 132 cols, 
  9169.     cols#132, use=f110, 
  9170. f110-14w|Liberty Freedom 110 14in/132 cols, 
  9171.     cols#132, 
  9172.     dch1@, use=f110, 
  9173. # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
  9174. f200|freedom200|Liberty Freedom 200, 
  9175.     am, eslok, hs, mir, msgr, xon, 
  9176.     cols#80, it#8, lines#24, wsl#80, 
  9177.     acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
  9178.     clear=^Z, cnorm=\E.1, cr=^M, 
  9179.     csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
  9180.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  9181.     cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, 
  9182.     el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^, 
  9183.     hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H, 
  9184.     kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  9185.     kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
  9186.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  9187.     kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, 
  9188.     ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<, 
  9189.     tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, 
  9190.     use=adm+sgr, 
  9191. f200-w|Liberty Freedom 200 - 132 cols, 
  9192.     cols#132, use=f200, 
  9193. # The f200 has the ability to reprogram the down cursor key. The key is
  9194. # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
  9195. # so powering the terminal off and on will not cause the change to be lost.
  9196. f200vi|Liberty Freedom 200 for vi, 
  9197.     flash=\Eb$<200/>\Ed, kcud1=^J, use=f200, 
  9198. f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
  9199.     cols#132, use=f200vi, 
  9200.  
  9201. #### GraphOn (go)
  9202. #
  9203. #    Graphon Corporation
  9204. #    544 Division Street
  9205. #    Campbell, CA 95008
  9206. #    Vox: (408)-370-4080
  9207. #    Fax: (408)-370-5047
  9208. #    Net: troy@graphon.com (Troy Morrison)
  9209. #
  9210. #
  9211. # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
  9212. # including one odd hybrid that starts out life on power-up as a character
  9213. # terminal, than can be switched to X graphics mode (driven over the serial
  9214. # line) by an escape sequence.  No info on this beast yet.
  9215. # (go140: I added <rmam>/<smam> based on the init string -- esr)
  9216. go140|graphon go-140, 
  9217.     cols#80, it#8, lines#24, 
  9218.     clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
  9219.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  9220.     ed=\E[J$<10/>, el=\E[K, ht=^I, 
  9221.     if=/usr/share/tabset/vt100, il1=\E[L, 
  9222.     is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
  9223.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  9224.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
  9225.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
  9226.     rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
  9227.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  9228. go140w|graphon go-140 in 132 column mode, 
  9229.     am, 
  9230.     cols#132, 
  9231.     is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, use=go140, 
  9232. # Hacked up vt200 termcap to handle GO-225/VT220
  9233. # From: <edm@nwnexus.WA.COM>
  9234. # (go225: I added <rmam>/<smam> based on the init string -- esr)
  9235. go225|go-225|Graphon 225, 
  9236.     am, mir, xenl, 
  9237.     cols#80, it#8, lines#25, vt#3, 
  9238.     blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  9239.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  9240.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  9241.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED, 
  9242.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
  9243.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  9244.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m, 
  9245.     rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
  9246.     rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, 
  9247.     rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, 
  9248.     sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, 
  9249.     smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
  9250.  
  9251. #### Harris (Beehive)
  9252. #
  9253. # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
  9254. # Their terminal group is ancient history now (1995) though the parent
  9255. # company is still in business.
  9256. #
  9257.  
  9258. # Beehive documentation is undated and marked Preliminary and has no figures
  9259. # so we must have early Superbee2 (Model 600, according to phone conversation
  9260. # with mfr.). It has proved reliable except for some missing padding
  9261. # (notably after \EK and <nl> at bottom of screen).
  9262. # The key idea is that AEP mode is poison for <cup> & that US's in 
  9263. # the local memory should be avoided like the plague. That means 
  9264. # that the 2048 character local buffer is used as 25 lines of 80 
  9265. # characters, period. No scrolling local memory, folks. It also 
  9266. # appears that we cannot use naked INS LINE feature since it uses
  9267. # US. The sbi fakes <il1> with an 80-space insert that may be too 
  9268. # slow at low speeds; also spaces get converted to \040 which is 
  9269. # too long for some programs (not vi).  DEL LINE is ok but slow.
  9270. # The <nl> string is designed for last line of screen ONLY; cup to 
  9271. # 25th line corrects the motion inherent in scrolling to Page 1.
  9272. # There is one understood bug. It is that the screen appears to
  9273. # pop to a new (blank) page after a <nel>, or leave a half-line 
  9274. # ellipsis to a quad that is the extra 48 memory locations. The 
  9275. # data received is dumped into memory but not displayed.  Not to 
  9276. # worry if <cup> is being used; the lines not displayed will be, 
  9277. # whenever the cursor is moved up there. Since <cup> is addressed 
  9278. # relative to MEMORY of window, nothing is lost; but beware of 
  9279. # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
  9280. # therefore, is setenv MORE -c .
  9281. # WARNING: Not all features tested.
  9282. # Timings are assembled from 3 sources. Some timings may reflect 
  9283. # SB2/Model 300 that were used if more conservative.
  9284. # Tested on a Model 600 at 1200 and 9600 bd.
  9285. # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
  9286. # placed on the keyboard and useless because of AEP, is made 
  9287. # into a backspace key. In use ESC must be pressed twice (to send)
  9288. # and sending ^C must be prefixed by ESC to avoid that weird 
  9289. # transmit mode associated with ENTER key.
  9290. # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
  9291. # the screen, then it has dropped into ENTER mode; hit 
  9292. # RESET--ONLINE--!tset.
  9293. # As delivered this machine has a FATAL feature that will throw 
  9294. # it into that strange transmit state (SPOW) if the space bar is 
  9295. # hit after a CR is received, but before receiving a LF (or a 
  9296. # few others).
  9297. # The circuits MUST be modified to eliminate the SPOW latch. 
  9298. # This is done by strapping on chip A46 of the I/O board; cut 
  9299. # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
  9300. # chip. This mod has been checked out on a Mod 600 of Superbee II.
  9301. # With this modification absurdly high timings on cr are 
  9302. # unnecessary.
  9303. # NOTE WELL that the rear panel switch should be set to CR/LF, 
  9304. # not AEP!
  9305. #
  9306. sb1|beehive superbee, 
  9307.     am, bw, da, db, mir, ul, xsb, 
  9308.     cols#80, lines#25, xmc#1, 
  9309.     bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, 
  9310.     cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d, 
  9311.     cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, 
  9312.     el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1, 
  9313.     il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
  9314.     ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, 
  9315.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, 
  9316.     kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
  9317.     kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
  9318.     krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER, 
  9319.     rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, 
  9320.     smso=\E_1, smul=\E_0, tbc=\E3, 
  9321. sbi|superbee|beehive superbee at Indiana U., 
  9322.     xsb, 
  9323.     cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, use=sb1, 
  9324. # Alternate (older) description of Superbee - f1=escape, f2=^C.
  9325. # Note: there are at least 3 kinds of superbees in the world.  The sb1
  9326. # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
  9327. # The sb3 puts garbage on the bottom of the screen when you scroll with
  9328. # the switch in the back set to CRLF instead of AEP.  This description
  9329. # is tested on the sb2 but should work on all with either switch setting.
  9330. # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
  9331. # the other two if you want to try to hit that tiny escape key.
  9332. # This description is tricky: being able to use cup depends on there being
  9333. # 2048 bytes of memory and the hairy <nl> string.
  9334. superbee-xsb|beehive super bee, 
  9335.     am, da, db, xsb, 
  9336.     cols#80, it#8, lines#25, 
  9337.     clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J, 
  9338.     cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
  9339.     dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
  9340.     home=\EH, ht=^I, hts=\E1, 
  9341.     ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ, 
  9342.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq, 
  9343.     kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
  9344.     khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
  9345. # This loses on lines > 80 chars long, use at your own risk
  9346. superbeeic|super bee with insert char, 
  9347.     ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
  9348. sb2|sb3|fixed superbee, 
  9349.     xsb@, use=superbee, 
  9350.  
  9351. # Reports are that most of these Beehive entries (except superbee) have not
  9352. # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
  9353.  
  9354. # (bee: <ich1> was empty, which is obviously bogus -- esr)
  9355. beehive|bee|harris beehive, 
  9356.     am, mir, 
  9357.     cols#80, lines#24, 
  9358.     cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
  9359.     cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
  9360.     dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>, 
  9361.     kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  9362.     kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
  9363.     krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, 
  9364.     smir=\EQ, smso=\EdP, smul=\Ed`, 
  9365. # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
  9366. # good grief - does this entry make :sg:/:ug: when it doesn't have to?
  9367. # look at those spaces in <rmso>/<smso>.  Seems strange to me...
  9368. # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
  9369. # really care, cook up one using ^F -- esr)
  9370. beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
  9371.     am, 
  9372.     cols#80, it#8, lines#20, 
  9373.     bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K, 
  9374.     dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F, 
  9375.     il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s, 
  9376. beehive4|bh4|beehive 4, 
  9377.     am, 
  9378.     cols#80, lines#24, 
  9379.     bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
  9380.     cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J, 
  9381. microb|microbee|micro bee series, 
  9382.     am, 
  9383.     cols#80, it#8, lines#24, 
  9384.     bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  9385.     cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  9386.     el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  9387.     kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
  9388.     kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@, 
  9389.     rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`, 
  9390.  
  9391. # 8675, 8686, and bee from Cyrus Rahman
  9392. # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
  9393. ha8675|harris 8675, 
  9394.     is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
  9395.     kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei, 
  9396.     kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H, 
  9397.     kf8=\177, kf9=\Ee, 
  9398.     use=bee, 
  9399. # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
  9400. # in :is: -- esr)
  9401. ha8686|harris 8686, 
  9402.     is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\E"8FB5021B7283#, 
  9403.     kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003, 
  9404.     kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003, 
  9405.     kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003, 
  9406.     kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(, 
  9407.     use=bee, 
  9408.  
  9409. #### Hazeltine
  9410. #
  9411. # Hazeltine appears to be out of the business now (1995).  These guys were 
  9412. # co-owners of the Terminal Brain Damage Hall Of Fame along with Harris.
  9413. # They have a hazeltine.com domain and can be reached at:
  9414. #
  9415. #    Hazeltine
  9416. #    450 East Pulaski Road
  9417. #    Greenlawn, New York 11740
  9418. #
  9419. # As late as 1993, manuals for the terminal product line could still be
  9420. # purchased from:
  9421. #
  9422. #    TRW Customer Service Division
  9423. #    15 Law Drive
  9424. #    P.O. Box 2076
  9425. #    Fairfield, NJ 07007-2078
  9426. #
  9427.  
  9428. # Since <cuf1> is blank, when you want to erase something you
  9429. # are out of luck.  You will have to do ^L's a lot to
  9430. # redraw the screen.  h1000 is untested.  It doesn't work in
  9431. # vi - this terminal is too dumb for even vi.  (The code is
  9432. # there but it isn't debugged for this case.)
  9433. hz1000|hazeltine 1000, 
  9434.     cols#80, lines#12, 
  9435.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K, 
  9436.     ind=^J, 
  9437. # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
  9438. hz1420|hazeltine 1420, 
  9439.     am, 
  9440.     cols#80, lines#24, 
  9441.     bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P, 
  9442.     cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S, 
  9443.     ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y, 
  9444.     smso=\E^_, 
  9445. # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
  9446. # freakout with out-of-range args and tn3270.  No hz since it needs to
  9447. # receive tildes.
  9448. hz1500|hazeltine 1500, 
  9449.     am, hz, 
  9450.     cols#80, lines#24, 
  9451.     bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
  9452.     cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%'`'%+%c%p1%'`'%+%c, 
  9453.     cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
  9454.     il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
  9455.     kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
  9456. # h1510 assumed to be in sane escape mode.  Else use h1500.
  9457. # (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
  9458. # <smso=\E^Y>, but these caps were commented out in 8.3; also,
  9459. # removed incorrect and overridden ":do=^J:" -- esr)
  9460. hz1510|hazeltine 1510, 
  9461.     am, 
  9462.     cols#80, lines#24, 
  9463.     bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P, 
  9464.     cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X, 
  9465.     el=\E^O, il1=\E^Z, ind=^J, 
  9466. # Hazeltine 1520
  9467. # The following switch settings are assumed for normal operation:
  9468. #    FULL        CR        U/L_CASE    ESCAPE
  9469. #    FORMAT_OFF    EOM_A_OFF    EOM_B_OFF    WRAPAROUND_ON
  9470. # Other switches may be set for operator convenience or communication
  9471. # requirements.
  9472. hz1520|Hazeltine 1520, 
  9473.     am, bw, msgr, 
  9474.     cols#80, lines#24, 
  9475.     bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
  9476.     cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
  9477.     ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H, 
  9478.     kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, 
  9479.     kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z, 
  9480.     rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_, 
  9481. # This version works with the escape switch off
  9482. # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
  9483. hz1520-noesc|hazeltine 1520, 
  9484.     am, hz, 
  9485.     cols#80, lines#24, 
  9486.     bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
  9487.     cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O, 
  9488.     home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_, 
  9489. # Note: the h1552 appears to be the first Hazeltine terminal which
  9490. # is not braindamaged.  It has tildes and backprimes and everything!
  9491. # Be sure the auto lf/cr switch is set to cr.
  9492. hz1552|hazeltine 1552, 
  9493.     cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue, 
  9494.     lf2=red, lf3=green, 
  9495.     use=vt52, 
  9496. hz1552-rv|hazeltine 1552 reverse video, 
  9497.     cud1=^J, rmso=\ET, smso=\ES, use=hz1552, 
  9498. # Note: h2000 won't work well because of a clash between upper case and ~'s.
  9499. hz2000|hazeltine 2000, 
  9500.     am, 
  9501.     cols#74, lines#27, 
  9502.     bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
  9503.     cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
  9504.     il1=~\032$<6>, ind=^J, pad=\177, 
  9505. # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
  9506. # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
  9507. # to work ok. There is one problem though if one types a lot of garbage
  9508. # characters very fast vi seems not able to keep up and hangs while trying
  9509. # to insert. That's in insert mode while trying to insert in the middle of
  9510. # a line. It might be because the Esprit doesn't have insert char and delete
  9511. # char as a built in function. Vi has to delete to end of line and then 
  9512. # redraw the rest of the line.
  9513. esprit|Hazeltine Esprit I, 
  9514.     am, bw, 
  9515.     cols#80, lines#24, 
  9516.     bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
  9517.     cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
  9518.     ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H, 
  9519.     kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
  9520.     kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J, 
  9521.     kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R, 
  9522.     lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, 
  9523.     rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_, 
  9524. esprit-am|hazeltine esprit auto-margin, 
  9525.     am, use=esprit, 
  9526. # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
  9527. # Vi it seems always wants to send a control J for "do" and it turned out
  9528. # that the terminal would work somewhat if the auto LF/CR was turned off.
  9529. # (hmod1: removed :dn=~^K: -- esr)
  9530. hmod1|Hazeltine Modular 1, 
  9531.     am, hz, 
  9532.     cols#80, lines#24, 
  9533.     bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
  9534.     cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z, 
  9535.     ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R, 
  9536.     rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_, 
  9537. #
  9538. # Hazeltine Executive 80 Model 30 (1554?)
  9539. #    from  Will Martin <control@ALMSA-1.ARPA> via BRL
  9540. # Like VT100, except for different "am" behavior.
  9541. hazel|exec80|h80|he80|Hazeltine Executive 80, 
  9542.     am, 
  9543.     cols#80, it#8, lines#24, vt#3, 
  9544.     bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  9545.     clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  9546.     cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
  9547.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
  9548.     ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
  9549.     is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
  9550.     kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  9551.     kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
  9552.     rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
  9553.     rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
  9554.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  9555.     sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
  9556.     smul=\E[4m$<2/>, 
  9557.  
  9558. #### IBM
  9559. #
  9560.  
  9561. ibm327x|line mode IBM 3270 style, 
  9562.     gn, 
  9563.     clear=^M^J, el=^M, home=^M, 
  9564.  
  9565. # Beware! The 3101 entry IBM shipped with AIX 3 is *wrong*.  Losers...
  9566. # From: J.B. Nicholson-Owens <jeffo@uiuc.edu> 8 Mar 94
  9567. # (ibm3101: <if=/usr/share/tabset/ibm3101> removed, no such file -- esr)
  9568. ibm3101|i3101|IBM 3101-10, 
  9569.     am, xon, 
  9570.     cols#80, lines#24, 
  9571.     bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  9572.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  9573.     el=\EI, home=\EH, ht=^I, hts=\E0, ind=^J, kbs=^H, kcub1=\ED, 
  9574.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\E1, 
  9575. #   Received from the IBM terminals division (given to DRB)
  9576. #   June 1988 for PS/2 OS 2.2.3 cut
  9577. ibm3151|i3151|IBM 3151, 
  9578.     rmso=\E4@, rmul=\E4@, 
  9579.     sgr=\E4%{64}%?%p1%{0}%>%p1%{4}%<%&%t%{8}%|%;%?%p1%{7}%=%t%{16}%|%;%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c, 
  9580.     sgr0=\E4@, smso=\E4A, smul=\E4B, 
  9581.     use=ibm3163, 
  9582. # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
  9583. # I've commented out or translated some IBM extensions.
  9584. ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
  9585.     am, mir, msgr, 
  9586.     cols#80, it#8, lines#24, 
  9587.     acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370, 
  9588.     bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
  9589.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  9590.     cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
  9591.     invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
  9592.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
  9593.     kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r, 
  9594.     kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
  9595.     kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
  9596.     kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
  9597.     kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
  9598.     kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
  9599.     kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
  9600.     ktbc=\E 1, rev=\E4A, rmcup=\E>A, rmso=\E4@, rmul=\E4@, 
  9601.     sgr=\E4%'@'%?%p1%t%'A'%|%;%?%p2%t%'B'%|%;%?%p3%t%'A'%|%;%?%p4%t%'D'%|%;%?%p5%t%'@'%|%;%?%p6%t%'H'%|%;%?%p7%t%'P'%|%;%c%?%p9%t\E>A%e\E<@%;, 
  9602.     sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
  9603.  
  9604. # How the 3164 sgr string works:
  9605. #    %{32}            # push space for no special video characteristics
  9606. #    %?%p2%t%{1}%|%; # if p2 set, then OR the 1 bit for reverse
  9607. #    %?%p3%t%{4}%|%; # if p3 set, then OR the 4 bit for blink
  9608. #    %?%p4%t%{2}%|%; # if p4 set, then OR the 2 bit for underline
  9609. #    %c              # pop Pa1
  9610. #    %{39}%p1%-    # calculate 32 + (7 - p1) for foreground
  9611. #    %c        # pop Pa2 
  9612. #    %{64}        # use only black background for now
  9613. #    %c        # pop Pa3
  9614. ibm3164|i3164|IBM 3164, 
  9615.     blink=\E4D, bold=\E4H, 
  9616.     sgr=\E4%{32}%?%p2%t%{1}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%c%{39}%p1%-%c%{64}%c, 
  9617.     sgr0=\E4@, 
  9618.     use=ibm3163, 
  9619.  
  9620. ibmaed|IBM Experimental display, 
  9621.     am, eo, msgr, 
  9622.     cols#80, it#8, lines#52, 
  9623.     clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
  9624.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
  9625.     dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP, 
  9626.     il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  9627.     rmso=\E0, sgr0=\E0, smso=\E0, 
  9628. ibm-apl|apl|IBM apl terminal simulator, 
  9629.     lines#25, use=dm1520, 
  9630. # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
  9631. # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
  9632. ibmmono|ibm5151|IBM workstation monochrome, 
  9633.     eslok, hs, 
  9634.     bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
  9635.     invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
  9636.     kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
  9637.     khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
  9638.     lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
  9639.     sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, use=ibm3101, 
  9640. ibmega|ibm5154|IBM Enhanced Color Display, 
  9641.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  9642.     nel=^M^J, 
  9643.     use=ibmmono, 
  9644. ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
  9645.     rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
  9646.     use=ibmmono, 
  9647. ibmvga-c|IBM VGA display color termcap, 
  9648.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  9649.     nel=^M^J, 
  9650.     use=ibmega-c, 
  9651. ibmvga|IBM VGA display, 
  9652.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  9653.     nel=^M^J, 
  9654.     use=ibmega, 
  9655. # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
  9656. rtpc|ibmapa16|ibm6155|IBM 6155 Extended Monochrome Graphics Display, 
  9657.     lines#32, 
  9658.     dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
  9659. # Advanced Monochrome (6153) and Color (6154) Graphics Display:
  9660. ibmapa8c|ibmapa8|ibm6154|ibm6153|IBM 6153/4 Advanced Graphics Display, 
  9661.     lines#31, 
  9662.     dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
  9663. ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
  9664.     lines#31, 
  9665.     dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmega-c, 
  9666. # From: Marc Pawliger <marc@ibminet.awdpa.ibm.com>
  9667. # also in /usr/lpp/bos/bsdsysadmin.
  9668. # (hft-c: this entry had :kb=\E[D:kf=\E[C: on the line with ku/kd/kh; this was
  9669. # pretty obviously mislabeled for :le: and :nd:; also ":ul=\E[4m:" was clearly
  9670. # a typo for ":us=\E[4m:"; also ":el=\E[K:" was a typo for ":ce=\E[K:".
  9671. # I also added <rmam>/<smam> based on the terminal reset string.
  9672. # There was an unknown boolean ":ht:" which I assume was meant to set hardware
  9673. # tabs, so I have inserted it#8. Finally, :ac=^N: paired with the :ae: looked
  9674. # like a typo for :as=^N:; finally, added empty <acsc> to quiet tic -- esr)
  9675. ibm8512|ibm8513|hft-c|IBM High Function Terminal, 
  9676.     am, mir, msgr, 
  9677.     cols#80, it#8, lines#25, 
  9678.     acsc=, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cub1=\E[D, 
  9679.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  9680.     dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  9681.     home=\E[H, il=\E[%p1%dL, il1=\E[L, is2=\Eb\E[m\017\E[?7h, 
  9682.     kcud1=\E[B, kcuu1=\E[A, kf0=\E[010q, kf1=\E[001q, 
  9683.     kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, kf5=\E[005q, 
  9684.     kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, kf9=\E[009q, 
  9685.     khome=\E[H, rc=\E[u, rev=\E[7m, rmacs=^O, rmam=\E[?7l, 
  9686.     rmcup=\E[20h, rmdc=\E[4l, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
  9687.     rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
  9688.     smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
  9689.     smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  9690. hft|AIWS High Function Terminal, 
  9691.     am, xon, 
  9692.     cols#80, lines#25, 
  9693.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  9694.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  9695.     cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  9696.     ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, 
  9697.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  9698.     kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
  9699.     kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
  9700.     kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q, 
  9701.     ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m, 
  9702.     sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, 
  9703. ibm-system1|system1|ibm system/1 computer, 
  9704.     am, xt, 
  9705.     cols#80, lines#24, 
  9706.     bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
  9707.     cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
  9708.     ind=^J, 
  9709.  
  9710. # From: <pryor@math.berkeley.edu>
  9711. ibm5081|ibmmpel|IBM 5081 1024x1024 256/4096 color display, 
  9712.     eslok, hs, 
  9713.     lines#33, 
  9714.     dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmmono, 
  9715. ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 enhanced color display, 
  9716.     eslok, hs, 
  9717.     lines#33, 
  9718.     dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, use=ibmega-c, 
  9719. ibm8514|IBM 8514 color display, 
  9720.     eslok, hs, 
  9721.     lines#41, 
  9722.     cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
  9723.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
  9724.     use=ibmega, 
  9725. ibm8514-c|IBM 8514 color display with standout and underline, 
  9726.     eslok, hs, 
  9727.     lines#41, 
  9728.     cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
  9729.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
  9730.     use=ibmega-c, 
  9731.  
  9732. #
  9733. # AIX entries.  IBM ships these with AIX 3. 
  9734. # AIX extension caps are commented out,
  9735. # except for box1 which has been translated to an <acsc> string.
  9736. #
  9737. aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
  9738.     eslok, hs, 
  9739.     acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
  9740.     fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
  9741.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  9742.     sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, 
  9743.     use=ibm6153, 
  9744. aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator, 
  9745.     eslok, hs, 
  9746.     bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
  9747.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  9748.     tsl=\E[?%p1%dT, 
  9749.     use=ibm6153, 
  9750. jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
  9751.     acsc@, 
  9752.     use=aixterm-m, 
  9753.  
  9754. #### Infoton/General Terminal Corp.
  9755. #
  9756.  
  9757. # gt100 sounds like something DEC would come out with.  Let's hope they don't.
  9758. i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
  9759.     am, 
  9760.     cols#80, lines#24, 
  9761.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  9762.     cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM, 
  9763.     ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, 
  9764.     ind=^J, rmso=\Ea, smso=\Eb, 
  9765. i400|infoton 400, 
  9766.     am, 
  9767.     cols#80, lines#25, 
  9768.     bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  9769.     cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
  9770.     dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
  9771.     il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
  9772. # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
  9773. addrinfo, 
  9774.     am, 
  9775.     cols#80, lines#24, 
  9776.     bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
  9777.     cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H, 
  9778.     ind=^J, ll=^H^\, 
  9779. # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
  9780. infoton, 
  9781.     am, 
  9782.     cols#80, lines#24, 
  9783.     bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
  9784.     ed=^K, ind=^J, ll=^H^\, 
  9785.  
  9786. #### Interactive Systems Corp
  9787. #
  9788. # ISC used to sell OEMed and customized hardware to support ISC UNIX.
  9789. # ISC UNIX still exists in 1995, but ISC itself is no more; they got
  9790. # bought out by Sun.
  9791. #
  9792.  
  9793. # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
  9794. # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
  9795. # ":le=^_:" later overridden -- esr)
  9796. intext|Interactive Systems Corporation modified owl 1200, 
  9797.     am, 
  9798.     cols#80, it#8, lines#24, xmc#1, 
  9799.     bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J, 
  9800.     cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\, 
  9801.     dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>, 
  9802.     el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H, 
  9803.     kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
  9804.     kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r, 
  9805.     kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<, 
  9806.     rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%, 
  9807.     smso=^V$\,, 
  9808. intext2|intextii|INTERACTIVE modified owl 1251, 
  9809.     am, bw, ul, 
  9810.     cols#80, lines#24, xmc#0, 
  9811.     bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B, 
  9812.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  9813.     dl1=\E[M, ed=\E[J, el=\E[K, 
  9814.     flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
  9815.     hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
  9816.     kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r, 
  9817.     kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, 
  9818.     kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
  9819.     khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO, 
  9820.     lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT, 
  9821.     lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
  9822.     smul=\E[18 D, 
  9823.  
  9824. #### Kimtron (abm, kt)
  9825. #
  9826. # Kimtron entries include (undocumented) codes for: enter dim mode,
  9827. # enter bold mode, enter reverse mode, turn off all attributes.
  9828. #
  9829.  
  9830. # Kimtron ABM 85 added by Dual Systems
  9831. # (abm85: removed duplicated ":kd=^J:" -- esr)
  9832. abm85|Kimtron ABM 85, 
  9833.     am, bw, msgr, 
  9834.     cols#80, it#8, lines#24, xmc#1, 
  9835.     cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
  9836.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  9837.     dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
  9838.     if=/usr/share/tabset/stdcrt, il1=\EE, 
  9839.     is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H, 
  9840.     kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek, 
  9841.     rmul=\Em, smir=\EQ, smso=\Ej, smul=\El, 
  9842. # Kimtron ABM 85H added by Dual Systems.
  9843. # Some notes about the abm85h entries:
  9844. # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
  9845. #    firmware revs prior to SP51
  9846. # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
  9847. #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
  9848. #    in some places and NOT software settable i.e., <is2> can't fix it)
  9849. # 3) In 85h mode, the arrow keys and special functions transmit when
  9850. #    the terminal is in dup-edit, and work only locally in local-edit.
  9851. #    Vi won't swallow `del char' for instance, but <smcup> turns on
  9852. #    dup-edit anyway so that the arrow keys will work right. If the
  9853. #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
  9854. #    <is2>.  Note that 920E mode does not have software commands to toggle
  9855. #    between dup and local edit, so you get whatever was set last on the
  9856. #    terminal.
  9857. # 4) <flash> attribute is nice, but seems too slow to work correctly
  9858. #    (\Eb<pad>\Ed)
  9859. # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
  9860. #    are selected, the <xmc@> entry should be removed.
  9861. # 6) auto new-line should be on (selectable from setup mode only)
  9862. #
  9863. # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
  9864. abm85h|Kimtron ABM 85H native mode, 
  9865.     hs, 
  9866.     xmc@, 
  9867.     bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@, 
  9868.     fsl=^M, invis@, 
  9869.     is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
  9870.     kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, 
  9871.     use=adm+sgr, use=abm85, 
  9872. abm85e|Kimtron ABM 85H in 920E mode, 
  9873.     xmc@, 
  9874.     bel=^G, dim=\E), flash@, 
  9875.     is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
  9876.     rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
  9877.     use=abm85, 
  9878. abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
  9879.     xmc@, 
  9880.     bel=^G, dim=\E), 
  9881.     is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
  9882.     rev=\Ej, sgr0=\E(\Ek, smir=\EZ, 
  9883.     use=abm85, 
  9884. # From: <malman@bbn-vax.arpa>
  9885. # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
  9886. kt7|kimtron model kt-7, 
  9887.     am, 
  9888.     cols#80, it#8, lines#24, 
  9889.     cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
  9890.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  9891.     dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
  9892.     if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E", 
  9893.     kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
  9894.     kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, 
  9895.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  9896.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  9897.     kich1=\EQ, kil1=\EE, tsl=\Ef, 
  9898.     use=adm+sgr, 
  9899. # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
  9900. # other kt7 entry and the adjacent key capabilities).  Removed EE which is
  9901. # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
  9902. # but we can't figure out what.
  9903. kt7ix|kimtron model kt-7 or 70 in IX mode, 
  9904.     am, bw, 
  9905.     cols#80, it#8, lines#25, 
  9906.     acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI, 
  9907.     civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
  9908.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  9909.     dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
  9910.     home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J, 
  9911.     is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*, 
  9912.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER, 
  9913.     ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
  9914.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  9915.     kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ, 
  9916.     nel=^M^J, pulse=\EK, rmacs=\E%, rmir=, rmso=\EG0, rmul=\EG0, 
  9917.     sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef, 
  9918.  
  9919. #### Microdata/MDIS
  9920. #
  9921. # This was a line of terminals made by McDonnell-Douglas Information Systems.
  9922. # These entries come direct from MDIS documentation.  I have edited them only
  9923. # to move primary names of the form p[0-9] * to aliases, and to comment out
  9924. # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have 
  9925. # also removed the change history; the last version indicates this is
  9926. # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
  9927. #
  9928.  
  9929. # McDonnell Information Systems Terminal Family History
  9930. # =========================================
  9931. #
  9932. # Prism-1, Prism-2 and P99:
  9933. #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
  9934. #
  9935. # Prism-4 and Prism-5:
  9936. #       Slightly less ancient range of Microdata terminals. Follow-on from
  9937. #       Prism-2, but with many enhancements. P5 has eight display pages.
  9938. #
  9939. # Prism-6:
  9940. #       A special terminal for use with library systems, primarily in Germany.
  9941. #       Limited numbers. Similar functionality to P5 (except attributes?).
  9942. #
  9943. # Prism-7, Prism-8 and Prism-9:
  9944. #       More recent range of MDIS terminals, in which P7 and P8
  9945. #       replace the P4 & P5, with added functionality, and P9 is the flagship.
  9946. #       The P9 has two emulation modes - P8 and ANSI - and includes a
  9947. #       large number of the DEC VT220 control sequences. Both
  9948. #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
  9949. #
  9950. # Prism-12 and Prism-14:
  9951. #       Latest range, functionally very similar to the P9.  The P14 has a
  9952. #       black-on-white overscanning screen.
  9953. #
  9954. # The terminfo definitions given here are:
  9955. #
  9956. # p2      - Prism-2 (or Prism-1 or P99).
  9957. #
  9958. # p4      - Prism-4 (and older P7s & P8s).
  9959. # p5      - Prism-5 (or Prism-6).
  9960. #
  9961. # p7      - Prism-7.
  9962. # p8      - Prism-8 (in national or multinational mode).
  9963. # p8-w    - 132 column version of p8.
  9964. # p9      - Prism-9 in ANSI mode.
  9965. # p9-w    - 132 column version of p9.
  9966. # p9-8    - Prism-9 in Prism-8 emulation mode.
  9967. # p9-8-w  - As p9-8, but with 132 columns.
  9968. #
  9969. # p12     - Prism-12 in ANSI mode.
  9970. # p12-w   - 132 column version of p12.
  9971. # p12-m   - Prism-12 in MDC emulation mode.
  9972. # p12-m-w - As p12-m, but with 132 columns.
  9973. # p14     - Prism-14 in ANSI mode.
  9974. # p14-w   - 132 column version of p14.
  9975. # p14-m   - Prism-14 in MDC emulation mode.
  9976. # p14-m-w - As p14-m, but with 132 columns.
  9977. #
  9978. # p2: Prism-2
  9979. # -----------
  9980. #
  9981. # Includes Prism-1 and basic P99 without SP or MP loaded.
  9982. # The simplest form of Prism-type terminal.
  9983. # Basic cursor movement and clearing operations only.
  9984. # No video attributes.
  9985. # Notes:
  9986. #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
  9987. #  value up, followed by backspace.
  9988. #
  9989. prism2|MDC Prism-2, 
  9990.     am, bw, msgr, 
  9991.     cols#80, lines#24, 
  9992.     bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  9993.     cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
  9994.     cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
  9995.     hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
  9996.     ind=^J, kbs=^H, khome=^A, vpa=\013%p1%' '%+%c, 
  9997.  
  9998. # p4: Prism-4
  9999. # -----------
  10000. #
  10001. # Includes early versions of P7 & P8.
  10002. # Basic family definition for most Prisms (except P2 and P9 ANSI).
  10003. # Notes:
  10004. #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
  10005. #  value up, followed by backspace.
  10006. #  Cursor key definitions removed because they interfere with vi and csh keys.
  10007. #
  10008. prism4|p4|P4|MDC Prism-4, 
  10009.     am, bw, hs, mc5i, msgr, 
  10010.     cols#80, lines#24, wsl#72, xmc#1, 
  10011.     bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
  10012.     cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  10013.     cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
  10014.     cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
  10015.     fsl=^]\345, home=^A, 
  10016.     hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
  10017.     ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
  10018.     rev=^CD, rmso=^C\s, rmul=^C\s, 
  10019.     sgr=\003%'@'%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
  10020.     sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
  10021.     vpa=\013%p1%' '%+%c, 
  10022.  
  10023. # p5: Prism-5
  10024. # -----------
  10025. #
  10026. # Same definition as p4. Includes Prism-6 (not tested!).
  10027. # Does not use any multi-page features.
  10028. #
  10029. prism5|p5|P5|MDC Prism-5, 
  10030.     use=p4, 
  10031.  
  10032. # p7: Prism-7
  10033. # -----------
  10034. #
  10035. # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
  10036. # Notes:
  10037. #  Use p4 for very early models of P7.
  10038. #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
  10039. #
  10040. prism7|p7|P7|MDC Prism-7, 
  10041.     cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4, 
  10042.  
  10043. # p8: Prism-8
  10044. # -----------
  10045. #
  10046. # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
  10047. # Supports national and multinational character sets.
  10048. # Notes:
  10049. #  Alternate char set operations only work in multinational mode.
  10050. #  Use p4 for very early models of P8.
  10051. #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
  10052. # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
  10053. #
  10054. prism8|p8|P8|MDC Prism-8, 
  10055.     cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h, 
  10056.     vpa=\E[%i%p1%dd, 
  10057.     use=p4, 
  10058.  
  10059. # p8-w: Prism-8 in 132 column mode
  10060. # --------------------------------
  10061. #
  10062. # 'Wide' version of p8.
  10063. # Notes:
  10064. #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
  10065. #
  10066. prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode, 
  10067.     cols#132, 
  10068.     is2=\E[<12h\E[<14h, use=p8, 
  10069.  
  10070. # p9: Prism-9 in ANSI mode
  10071. # -------------------------
  10072. #
  10073. # The "flagship" model of this generation of terminals.
  10074. # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
  10075. # Notes:
  10076. #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
  10077. #  Fixes to deal with terminal firmware bugs:
  10078. #  . 'ri' uses insert-line since rev index doesn't always
  10079. #  . 'sgr0' has extra '0' since esc[m fails
  10080. #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
  10081. #  Not covered in the current definition:
  10082. #  . Labels
  10083. #  . Programming Fn keys
  10084. #  . Graphic characters (defaults correctly to vt100)
  10085. #  . Padding values (sets xon)
  10086. # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
  10087. #
  10088. prism9|p9|P9|MDC Prism-9 in ANSII mode, 
  10089.     am, bw, hs, mc5i, msgr, xenl, xon, 
  10090.     cols#80, it#8, lines#24, vt#3, wsl#72, 
  10091.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, 
  10092.     clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v, 
  10093.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  10094.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  10095.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  10096.     dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX, 
  10097.     ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`, 
  10098.     ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  10099.     is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D, 
  10100.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~, 
  10101.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  10102.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  10103.     kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
  10104.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  10105.     khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, 
  10106.     prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, 
  10107.     ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
  10108.     rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 
  10109.     sc=\E[%y, 
  10110.     sgr=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;, 
  10111.     sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
  10112.     tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd, 
  10113.  
  10114. # p9-w: Prism-9 in 132 column mode
  10115. # --------------------------------
  10116. #
  10117. # 'Wide' version of p9.
  10118. #
  10119. prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode, 
  10120.     cols#132, 
  10121.     is2=\E[&p\E[<12l\E F\E[<14h, 
  10122.     rs2=\E[&p\E[<12l\E F\E[<14h, use=p9, 
  10123.  
  10124. # p9-8: Prism-9 in P8 mode
  10125. # ------------------------
  10126. #
  10127. # P9 terminal in P8 emulation mode.
  10128. # Similar to p8 definition.
  10129. # Insertion and deletion operations possible.
  10130. #
  10131. prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode, 
  10132.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  10133.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8, 
  10134.  
  10135. # p9-8-w: Prism-9 in P8 and 132 column modes
  10136. # ------------------------------------------
  10137. #
  10138. # P9 terminal in P8 emulation mode and 132 column mode.
  10139. #
  10140. prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode, 
  10141.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  10142.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w, 
  10143.  
  10144. # p12: Prism-12 in ANSI mode
  10145. # ---------------------------
  10146. #
  10147. # See p9 definition.
  10148. #
  10149. prism12|p12|P12|MDC Prism-12 in ANSI mode, 
  10150.     use=p9, 
  10151.  
  10152. # p12-w: Prism-12 in 132 column mode
  10153. # ----------------------------------
  10154. #
  10155. # 'Wide' version of p12.
  10156. #
  10157. prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode, 
  10158.     use=p9-w, 
  10159.  
  10160. # p12-m: Prism-12 in MDC emulation mode
  10161. # -------------------------------------
  10162. #
  10163. # P12 terminal in MDC emulation mode.
  10164. # Similar to p8 definition.
  10165. # Insertion and deletion operations possible.
  10166. #
  10167. prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode, 
  10168.     use=p9-8, 
  10169.  
  10170. # p12-m-w: Prism-12 in MDC emulation and 132 column modes
  10171. # -------------------------------------------------------
  10172. #
  10173. # P12 terminal in MDC emulation mode and 132 column mode.
  10174. #
  10175. prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode, 
  10176.     use=p9-8-w, 
  10177.  
  10178. # p14: Prism-14 in ANSII mode
  10179. # ---------------------------
  10180. #
  10181. # See p9 definition.
  10182. #
  10183. prism14|p14|P14|MDC Prism-14 in ANSII mode, 
  10184.     use=p9, 
  10185.  
  10186. # p14-w: Prism-14 in 132 column mode
  10187. # ----------------------------------
  10188. #
  10189. # 'Wide' version of p14.
  10190. #
  10191. prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode, 
  10192.     use=p9-w, 
  10193.  
  10194. # p14-m: Prism-14 in MDC emulation mode
  10195. # -------------------------------------
  10196. #
  10197. # P14 terminal in MDC emulation mode.
  10198. # Similar to p8 definition.
  10199. # Insertion and deletion operations possible.
  10200. #
  10201. prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode, 
  10202.     use=p9-8, 
  10203.  
  10204. # p14-m-w: Prism-14 in MDC emulation and 132 column modes
  10205. # -------------------------------------------------------
  10206. #
  10207. # P14 terminal in MDC emulation mode and 132 column mode.
  10208. #
  10209. prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode, 
  10210.     use=p9-8-w, 
  10211.  
  10212. # End of McDonnell Information Systems Prism definitions
  10213.  
  10214. # These things were popular in the Pick database community at one time
  10215. # From: George Land <georgeland@aol.com> 24 Sep 1996
  10216. p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition, 
  10217.     am, bw, hs, mir, 
  10218.     cols#80, lines#24, ma#1, wsl#78, xmc#1, 
  10219.     bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
  10220.     cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P, 
  10221.     ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U, 
  10222.     kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ, 
  10223.     kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r, 
  10224.     kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r, 
  10225.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  10226.     kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
  10227.     lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
  10228.     pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
  10229.     smul=^C0, 
  10230.  
  10231. #### Microterm (act, mime)
  10232. #
  10233. # The mime1 entries refer to the Microterm Mime I or Mime II.
  10234. # The default mime is assumed to be in enhanced act iv mode.
  10235. #
  10236.  
  10237. # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
  10238. # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
  10239. # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
  10240. # since Sytek insists ^S means xoff.
  10241. # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
  10242. act4|microterm|microterm act iv, 
  10243.     am, 
  10244.     cols#80, lines#24, 
  10245.     bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
  10246.     cup=\024%p1%{24}%+%c%p2%p2%?%'/'%>%t%'0'%+%;%'P'%+%c, 
  10247.     cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
  10248.     ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
  10249.     il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
  10250.     kcuu1=^Z, 
  10251. # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
  10252. # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
  10253. # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
  10254. act5|microterm5|microterm act v, 
  10255.     kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, use=act4, 
  10256. # Mimes using brightness for standout.  Half bright is really dim unless
  10257. # you turn up the brightness so far that lines show up on the screen.
  10258. mime-fb|full bright mime1, 
  10259.     is2=^S\E, rmso=^S, smso=^Y, use=mime, 
  10260. mime-hb|half bright mime1, 
  10261.     is2=^Y\E, rmso=^Y, smso=^S, use=mime, 
  10262. # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
  10263. # the more plausible ":do=^J:" -- esr)
  10264. # uc was at one time disabled to get around a curses bug, be wary of it
  10265. mime|mime1|mime2|mimei|mimeii|microterm mime1, 
  10266.     am, 
  10267.     cols#80, it#8, lines#24, vt#9, 
  10268.     bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
  10269.     cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%'0'%+%;%'P'%+%c, 
  10270.     cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
  10271.     il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
  10272.     kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
  10273. # These termcaps (for mime2a) put the terminal in low intensity mode
  10274. # since high intensity mode is so obnoxious.
  10275. mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
  10276.     am, 
  10277.     cols#80, lines#24, 
  10278.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  10279.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED, 
  10280.     dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^, 
  10281.     il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J, 
  10282.     kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7, 
  10283.     smir=\EE, smso=\E\:, smul=\E6, 
  10284. # This is the preferred mode (but ^X can't be used as a kill character)
  10285. mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
  10286.     cols#80, it#8, lines#24, 
  10287.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  10288.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N, 
  10289.     dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I, 
  10290.     il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, 
  10291.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, 
  10292.     rmul=\E5, smir=^O, smso=\E8, smul=\E4, 
  10293. # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
  10294. mime3a|mime1 emulating 3a, 
  10295.     am@, 
  10296.     kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a, 
  10297. mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
  10298.     it#8, 
  10299.     dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, use=mime3a, 
  10300. # Wed Mar  9 18:53:21 1983
  10301. # We run our terminals at 2400 baud, so there might be some timing problems at
  10302. # higher speeds. The major improvements in this model are the terminal now 
  10303. # scrolls down and insert mode works without redrawing the rest of the line
  10304. # to the right of the cursor. This is done with a bit of a kludge using the
  10305. # exit graphics mode to get out of insert, but it does not appear to hurt
  10306. # anything when using vi at least. If you have some users using act4s with
  10307. # programs that use curses and graphics mode this could be a problem.
  10308. mime314|mm314|mime 314, 
  10309.     am, 
  10310.     cols#80, lines#24, 
  10311.     clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z, 
  10312.     dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H, 
  10313.     kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S, 
  10314. # Microterm mime 340 from University of Wisconsin
  10315. mm340|mime340|mime 340, 
  10316.     cols#80, lines#24, 
  10317.     clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  10318.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  10319.     dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
  10320.     el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,, 
  10321.     kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J, 
  10322. # This came from University of Wisconsin marked "astro termcap for jooss".
  10323. # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
  10324. # also added <rmam>/<smam> based  on the init string -- esr)
  10325. mt4520-rv|micro-term 4520 reverse video, 
  10326.     am, hs, msgr, xenl, xon, 
  10327.     cols#80, it#8, lines#24, wsl#80, 
  10328.     bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
  10329.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  10330.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  10331.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  10332.     cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  10333.     dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h, 
  10334.     fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  10335.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  10336.     is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
  10337.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  10338.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  10339.     ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100, 
  10340.     ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m, 
  10341.     rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
  10342.     sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
  10343.     tbc=\E[g, tsl=\E[25;1H, 
  10344.  
  10345. # Fri Aug  5 08:11:57 1983
  10346. # This entry works for the ergo 4000 with the following setups:
  10347. # ansi,wraparound,newline disabled, xon/xoff disabled in both
  10348. # setup a & c.
  10349. #    
  10350. # WARNING!!! There are multiple versions of ERGO 4000 microcode
  10351. # Be advised that very early versions DO NOT WORK RIGHT !!  
  10352. # Microterm does have a ROM exchange program- use it or lose big
  10353. # (ergo400: added <rmam>/<smam> based on the init string -- esr)
  10354. ergo4000|microterm ergo 4000, 
  10355.     da, db, msgr, 
  10356.     cols#80, lines#66, 
  10357.     bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B, 
  10358.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  10359.     dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>, 
  10360.     el=\E[0K$<13>, ht=^I, il=\E[1L$<5*>, ind=\ED$<20*>, 
  10361.     is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
  10362.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  10363.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3, 
  10364.     lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l, 
  10365.     rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>, 
  10366.     smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>, 
  10367.     smso=\E[7m$<20>, 
  10368.  
  10369. #### NCR 
  10370. #
  10371. # NCR's terminal group was merged with AT&T's when AT&T bought the company.
  10372. # For what happened to that group, see the ADDS section.
  10373. #
  10374. # There is an NCR4103 terminal that's just a re-badged Wyse-50.
  10375. #
  10376.  
  10377. # NCR7900 DIP switches:
  10378. #
  10379. # Switch A:
  10380. # 1-4 - Baud Rate
  10381. # 5   - Parity (Odd/Even)
  10382. # 6   - Don't Send or Do Send Spaces
  10383. # 7   - Parity Enable
  10384. # 8   - Stop Bits (One/Two)
  10385. # Switch B:
  10386. # 1   - Upper/Lower Shift
  10387. # 2   - Typewriter Shift
  10388. # 3   - Half Duplex / Full Duplex
  10389. # 4   - Light/Dark Background
  10390. # 5-6 - Carriage Return Without / With Line Feed
  10391. # 7   - Extended Mode
  10392. # 8   - Suppress Keyboard Display
  10393. # Switch C:
  10394. # 1   - End of line entry disabled/enabled
  10395. # 2   - Conversational mode / (Local?) Mode
  10396. # 3   - Control characters displayed / not displayed
  10397. # 4   - (2-wire?) / 4-wire communications
  10398. # 5   - RTS on and off for each character
  10399. # 6   - (50Hz?) / 60 Hz
  10400. # 7   - Exit after level zero diagnostics
  10401. # 8   - RS-232 interface
  10402. # Switch D:
  10403. # 1   - Reverse Channel (yes / no)
  10404. # 2   - Manual answer (no / yes)
  10405. # 3-4 - Cursor appearance
  10406. # 5   - Communication Rate
  10407. # 6   - Enable / Disable EXT turnoff
  10408. # 7   - Enable / Disable CR turnoff
  10409. # 8   - Enable / Disable backspace
  10410. #
  10411. # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
  10412. ncr7900i|ncr7900|ncr 7900 model 1, 
  10413.     am, bw, ul, 
  10414.     cols#80, lines#24, xmc#1, 
  10415.     bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  10416.     cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
  10417.     is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
  10418.     kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
  10419.     rmul=\E0@, 
  10420.     sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
  10421.     sgr0=\E0@, smso=\E0Q, smul=\E0`, 
  10422. ncr7900iv|ncr 7900 model 4, 
  10423.     am, bw, eslok, hs, 
  10424.     cols#80, lines#24, 
  10425.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
  10426.     cup=\013%p1%'@'%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
  10427.     fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
  10428.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
  10429.     kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
  10430.     khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J, 
  10431.     tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
  10432. ncr7901|ncr 7901 model, 
  10433.     am, bw, ul, 
  10434.     cols#80, lines#24, 
  10435.     bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M, 
  10436.     cub1=^H, cud1=^J, cuf1=^F, 
  10437.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
  10438.     ed=\Ek, el=\EK, 
  10439.     hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
  10440.     is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
  10441.     khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
  10442.     sgr=\E0%p5%'@'%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
  10443.     sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
  10444.     vpa=\013%p1%'@'%+%c, 
  10445.  
  10446. #### Perkin-Elmer (Owl)
  10447. #
  10448. # These are official terminfo entries from within Perkin-Elmer.
  10449. #
  10450.  
  10451. bantam|pe550|pe6100|perkin elmer 550, 
  10452.     cols#80, lines#24, 
  10453.     bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  10454.     cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  10455.     el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
  10456. fox|pe1100|perkin elmer 1100, 
  10457.     am, 
  10458.     cols#80, lines#24, 
  10459.     bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
  10460.     cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  10461.     ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003, 
  10462.     home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3, 
  10463. owl|pe1200|perkin elmer 1200, 
  10464.     am, in, 
  10465.     cols#80, lines#24, 
  10466.     bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
  10467.     cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  10468.     dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
  10469.     el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
  10470.     hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
  10471.     kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
  10472.     kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
  10473.     rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3, 
  10474. pe1251|pe6300|pe6312|perkin elmer 1251, 
  10475.     am, 
  10476.     cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
  10477.     bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
  10478.     cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  10479.     ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J, 
  10480.     kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE, 
  10481.     kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
  10482. # (pe7000m: this had
  10483. #     rmul=\E!\0, smul=\E!\040, 
  10484. # which is probably wrong, it collides with kf0
  10485. pe7000m|perkin elmer 7000 series monochrome monitor, 
  10486.     am, 
  10487.     cols#80, lines#24, 
  10488.     bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
  10489.     cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  10490.     ed=\EJ, el=\EI, home=\EH, ind=^J, 
  10491.     is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
  10492.     kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A, 
  10493.     kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
  10494.     kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
  10495.     ll=\ES7\s, ri=\ER, 
  10496. pe7000c|perkin elmer 7000 series colour monitor, 
  10497.     is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
  10498.     rmul=\E!\0, smso=\Eb2, smul=\E!\s, 
  10499.     use=pe7000m, 
  10500.  
  10501. #### Sperry Univac
  10502. #
  10503. # Sperry Univac has merged with Burroughs to form Unisys.
  10504. #
  10505.  
  10506. # This entry is for the Sperry UTS30 terminal running the TTY 
  10507. # utility under control of CP/M Plus 1R1. The functionality 
  10508. # provided is comparable to the DEC vt100.
  10509. # (uts30: I added <rmam>/<smam> based on the init string -- esr)
  10510. uts30|sperry uts30 with cp/m@1R1, 
  10511.     am, bw, hs, 
  10512.     cols#80, lines#24, wsl#40, 
  10513.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  10514.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L, 
  10515.     cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, 
  10516.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
  10517.     cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
  10518.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, 
  10519.     dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
  10520.     ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN, 
  10521.     ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H, 
  10522.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, 
  10523.     rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
  10524.     rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
  10525.     rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  10526.     sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m, 
  10527.     smul=\E[4m, tsl=\E], uc=\EPB, 
  10528.  
  10529. #### Tandem
  10530. #
  10531. # Tandem builds these things for use with its line of fault-tolerant
  10532. # transaction-processing computers.  They aren't generally available
  10533. # on the merchant market, and so are fairly uncommon.
  10534. #
  10535.  
  10536. tandem6510|adm3a repackaged by Tandem, 
  10537.     use=adm3a, 
  10538.  
  10539. # A funny series of terminal that TANDEM uses.  The actual model numbers
  10540. # have a fourth digit after 653 that designates minor variants.  These are
  10541. # natively block-mode and rather ugly, but they have a character mode which
  10542. # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
  10543. # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
  10544. # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
  10545. tandem653|t653x|Tandem 653x multipage terminal, 
  10546.     am, da, db, hs, 
  10547.     cols#80, lines#24, wsl#64, xmc#1, 
  10548.     clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
  10549.     cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r, 
  10550.     ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s, 
  10551.     rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo, 
  10552.  
  10553. #### Tandy/Radio Shack
  10554. #
  10555. # Tandy has a line of VDTs distinct from its microcomputers.
  10556. #
  10557.  
  10558. dmterm|deskmate terminal, 
  10559.     am, bw, 
  10560.     cols#80, lines#24, 
  10561.     bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H, 
  10562.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  10563.     cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
  10564.     ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB, 
  10565.     kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4, 
  10566.     kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0, 
  10567.     khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, 
  10568.     lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@, 
  10569.     use=adm+sgr, 
  10570. dt100|dt-100|Tandy DT-100 terminal, 
  10571.     xon, 
  10572.     cols#80, lines#24, xmc#1, 
  10573.     acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
  10574.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  10575.     csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  10576.     cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  10577.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
  10578.     il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
  10579.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, 
  10580.     kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
  10581.     kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H, 
  10582.     knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5, 
  10583.     lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
  10584.     sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
  10585. dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
  10586.     cols#132, use=dt100, 
  10587. dt110|Tandy DT-110 emulating ansi, 
  10588.     xon, 
  10589.     cols#80, lines#24, 
  10590.     acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
  10591.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  10592.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
  10593.     cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
  10594.     dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H, 
  10595.     ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, 
  10596.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
  10597.     kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~, 
  10598.     kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~, 
  10599.     khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1, 
  10600.     lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
  10601.     lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  10602.     smacs=^N, smso=\E[7m, smul=\E[4m, 
  10603. pt210|TRS-80 PT-210 printing terminal, 
  10604.     hc, os, 
  10605.     cols#80, 
  10606.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  10607.  
  10608. #### Tektronix (tek)
  10609. #
  10610. # Tektronix tubes are graphics terminals.  Most of them use modified 
  10611. # oscilloscope technology incorporating a long-persistence green phosphor,
  10612. # and support vector graphics on a main screen with an attached "dialogue
  10613. # area" for interactive text.
  10614. #
  10615.  
  10616. tek|tek4012|tektronix 4012, 
  10617.     os, 
  10618.     cols#75, lines#35, 
  10619.     bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J, 
  10620.     ff=\014$<1000>, is2=\E^O, 
  10621. # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
  10622. tek4013|tektronix 4013, 
  10623.     acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012, 
  10624. tek4014|tektronix 4014, 
  10625.     cols#81, lines#38, 
  10626.     is2=\E\017\E9, use=tek4012, 
  10627. # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
  10628. tek4015|tektronix 4015, 
  10629.     acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014, 
  10630. tek4014-sm|tektronix 4014 in small font, 
  10631.     cols#121, lines#58, 
  10632.     is2=\E\017\E\:, use=tek4014, 
  10633. # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
  10634. tek4015-sm|tektronix 4015 in small font, 
  10635.     acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm, 
  10636. # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
  10637. #
  10638. # You need to have "stty nl2" in effect.  Some versions of tset(1) know
  10639. # how to set it for you.
  10640. #
  10641. # It's got the Magic Cookie problem around stand-out mode.  If you can't
  10642. # live with Magic Cookie, remove the :so: and :se: fields and do without
  10643. # reverse video.  If you like reverse video stand-out mode but don't want
  10644. # it to flash, change the letter 'H' to 'P' in the :so: field.
  10645. tek4023|tektronix 4023, 
  10646.     am, 
  10647.     cols#80, lines#24, vt#4, xmc#1, 
  10648.     bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
  10649.     cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, rmso=^_@, 
  10650.     smso=^_P, 
  10651. # It is recommended that you run the 4025 at 4800 baud or less;
  10652. # various bugs in the terminal appear at 9600.  It wedges at the
  10653. # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
  10654. # on keyboard don't work.  You have to hit BREAK twice to get
  10655. # one break at any speed - this is a documented feature.
  10656. # Can't use cursor motion because it's memory relative, and 
  10657. # because it only works in the workspace, not the monitor.  
  10658. # Same for home. Likewise, standout only works in the workspace.
  10659. # <el> was commented out since vi and rogue seem to work better 
  10660. # simulating it with lots of spaces!
  10661. # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
  10662. # and didn't seem necessary.
  10663. #
  10664. tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
  10665.     am, da, db, 
  10666.     cols#80, it#8, lines#34, lm#0, 
  10667.     bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
  10668.     cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
  10669.     cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
  10670.     cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
  10671.     dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
  10672.     ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
  10673.     il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
  10674.     ind=^F^J, 
  10675.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
  10676.     rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
  10677.     smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
  10678. tek4025-17|tek 4025 17 line window, 
  10679.     lines#17, use=tek4025, 
  10680. tek4025-17-ws|tek 4025 17 line window in workspace, 
  10681.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
  10682.     rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r, 
  10683.     smso=\037att e\r, 
  10684.     use=tek4025-17, 
  10685. tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
  10686.     is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
  10687.     rmcup=\037com 33\r, smcup=!com 31\r, 
  10688.     use=tek4025, 
  10689. # Tektronix 4025a
  10690. # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
  10691. # The following status modes are assumed for normal operation (replace the
  10692. # initial "!" by whatever the current command character is):
  10693. #    !COM 29            # NOTE: changes command character to GS (^])
  10694. #    ^]DUP
  10695. #    ^]ECH R
  10696. #    ^]EOL
  10697. #    ^]RSS T
  10698. #    ^]SNO N
  10699. #    ^]STO 9 17 25 33 41 49 57 65 73
  10700. # Other modes may be set according to communication requirements.
  10701. # If the command character is inadvertently changed, termcap can't restore it.
  10702. # Insert-character cannot be made to work on both top and bottom rows.
  10703. # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
  10704. # There also seems to be a problem with vertical motion, perhaps involving
  10705. # delete/insert-line, following a typed carriage return.  This terminal sucks.
  10706. # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  10707. # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
  10708. # work any more. -- esr)
  10709. tek4025a|Tektronix 4025A, 
  10710.     am, bw, da, db, xon, 
  10711.     cols#80, it#8, lines#34, 
  10712.     bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^], 
  10713.     cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;, 
  10714.     cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;, 
  10715.     cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;, 
  10716.     dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;, 
  10717.     el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I, 
  10718.     il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;, 
  10719.     tbc=\035sto;, 
  10720. # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
  10721. # Here's the command file that I use to get rogue to work on the 4025.
  10722. # It should work with any program using the old curses (e.g. it better
  10723. # not try to scroll, or cursor addressing won't work.  Also, you can't
  10724. # see the cursor.)
  10725. # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
  10726. tek4025-cr|tek 4025 for curses and rogue, 
  10727.     am, 
  10728.     cols#80, it#8, lines#33, 
  10729.     clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
  10730.     cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J, 
  10731.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
  10732.     rmcup=\037wor 0, smcup=\037wor 33h, 
  10733. # next two lines commented out since curses only allows 128 chars, sigh.
  10734. #    :ti=\037lea p1/b/\037lea p2/j/\037lea p3/n/\037lea p4/h/\037lea p5/ /\037lea p6/l/\037lea p7/y/\037lea p8/k/\037lea p9/u/\037lea p./f/\037lea pt/`era w/13\037lea p0/s/\037wor 33h:\
  10735. #    :te=\037lea p1\037lea p2\037lea p3\037lea p4\037lea pt\037lea p5\037lea p6\037lea p7\037lea p8\037lea p9/la/13\037lea p.\037lea p0\037wor 0:
  10736. tek4025ex|4025ex|4027ex|tek 4025 w/!, 
  10737.     is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r, 
  10738.     rmcup=\037com 33\r, smcup=!com 31\r, 
  10739.     use=tek4025, 
  10740. tek4105|tektronix 4105, 
  10741.     am, mir, msgr, ul, xenl, xt, 
  10742.     cols#79, it#8, lines#29, 
  10743.     acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
  10744.     clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
  10745.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
  10746.     dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  10747.     il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m, 
  10748.     is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B, 
  10749.     kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T, 
  10750.     rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m, 
  10751.     rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m, 
  10752.     smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
  10753.     smul=\E[=5;<2m, tbc=\E[1g, 
  10754.  
  10755. # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
  10756. tek4105-30|4015 emulating 30 line vt100, 
  10757.     am, mir, msgr, xenl, xon, 
  10758.     cols#80, it#8, lines#30, vt#3, 
  10759.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  10760.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  10761.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  10762.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  10763.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  10764.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  10765.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
  10766.     enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
  10767.     ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
  10768.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
  10769.     kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
  10770.     kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
  10771.     rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  10772.     rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
  10773.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  10774.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  10775.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  10776.     smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  10777.  
  10778. # Tektronix 4105 from BRL
  10779. # The following setup modes are assumed for normal operation:
  10780. #    CODE ansi        CRLF no            DABUFFER 141
  10781. #    DAENABLE yes        DALINES 30        DAMODE replace
  10782. #    DAVISIBILITY yes    ECHO no            EDITMARGINS 1 30
  10783. #    FLAGGING input        INSERTREPLACE replace    LFCR no
  10784. #    ORIGINMODE relative    PROMPTMODE no        SELECTCHARSET G0 B
  10785. #    SELECTCHARSET G1 0    TABS -2
  10786. # Other setup modes may be set for operator convenience or communication
  10787. # requirements; I recommend
  10788. #    ACURSOR 1 0        AUTOREPEAT yes        AUTOWRAP yes
  10789. #    BYPASSCANCEL <LF>    CURSORKEYMODE no    DAINDEX 1 0 0
  10790. #    EOFSTRING ''        EOLSTRING <CR>        EOMCHARS <CR> <NU>
  10791. #    GAMODE overstrike    GCURSOR 0 100 0        GSPEED 10 1
  10792. #    IGNOREDEL no        KEYEXCHAR <DL>        NVDEFINE -53 "<NU>"
  10793. #    PROMPTSTRING ''        QUEUESIZE 2460        WINDOW 0 0 4095 3132
  10794. #    XMTDELAY 0
  10795. # and factory color maps.  After setting these modes, save them with NVSAVE. No
  10796. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  10797. # "IC" cannot be used in combination with "im" & "ei".
  10798. # "tek4105a" is just a guess:
  10799. tek4105a|Tektronix 4105, 
  10800.     msgr, xon, 
  10801.     cols#80, it#8, lines#30, vt#3, 
  10802.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  10803.     civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
  10804.     cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  10805.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  10806.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  10807.     cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
  10808.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  10809.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
  10810.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
  10811.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  10812.     kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
  10813.     kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
  10814.     lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
  10815.     rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
  10816.     rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, sc=\E7, 
  10817.     sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
  10818.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  10819.  
  10820. #
  10821. # Tektronix 4106/4107/4109 from BRL
  10822. # The following setup modes are assumed for normal operation:
  10823. #    CODE ansi        COLUMNMODE 80        CRLF no
  10824. #    DABUFFER 141        DAENABLE yes        DALINES 32
  10825. #    DAMODE replace        DAVISIBILITY yes    ECHO no
  10826. #    EDITMARGINS 1 32    FLAGGING input        INSERTREPLACE replace
  10827. #    LFCR no            LOCKKEYBOARD no        ORIGINMODE relative
  10828. #    PROMPTMODE no        SELECTCHARSET G0 B    SELECTCHARSET G1 0
  10829. #    TABS -2
  10830. # Other setup modes may be set for operator convenience or communication
  10831. # requirements; I recommend
  10832. #    ACURSOR 1 0        AUTOREPEAT yes        AUTOWRAP yes
  10833. #    BYPASSCANCEL <LF>    CURSORKEYMODE no    DAINDEX 1 0 0
  10834. #    EOFSTRING ''        EOLSTRING <CR>        EOMCHARS <CR> <NU>
  10835. #    GAMODE overstrike    GCURSOR 0 100 0        GSPEED 9 3
  10836. #    IGNOREDEL no        KEYEXCHAR <DL>        NVDEFINE -53 "<NU>"
  10837. #    PROMPTSTRING ''        QUEUESIZE 2620        WINDOW 0 0 4095 3132
  10838. #    XMTDELAY 0
  10839. # and factory color maps.  After setting these modes, save them with NVSAVE.  No
  10840. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  10841. # "IC" cannot be used in combination with "im" & "ei".
  10842. tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109, 
  10843.     msgr, xon, 
  10844.     cols#80, it#8, lines#32, vt#3, 
  10845.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  10846.     civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
  10847.     cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  10848.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  10849.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  10850.     cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
  10851.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  10852.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
  10853.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
  10854.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  10855.     kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
  10856.     kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
  10857.     lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
  10858.     rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
  10859.     rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  10860.     rs1=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>, 
  10861.     sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
  10862.     smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g, 
  10863.  
  10864. tek4107|tek4109|tektronix terminals 4107 4109, 
  10865.     am, mir, msgr, ul, xenl, xt, 
  10866.     cols#79, it#8, lines#29, 
  10867.     bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
  10868.     bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M, 
  10869.     cub1=^H, cud1=^J, cuf1=\EC, 
  10870.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3, 
  10871.     dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J, 
  10872.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  10873.     rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
  10874.     rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
  10875.     sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0, 
  10876.     sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0, 
  10877.     smul=\E%!1\E[4m$<2>\E%!0, 
  10878. # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
  10879. # see the note attached to tek4207.
  10880. tek4207-s|Tektronix 4207 with sysline but no memory, 
  10881.     eslok, hs, 
  10882.     dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
  10883.     is1=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J, 
  10884.     is2=\E7\E[?6l\E[2K\E[?6h\E8, 
  10885.     tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107, 
  10886.  
  10887. # The 4110 series may be a wonderful graphics series, but they make the 4025
  10888. # look good for screen editing.  In the dialog area, you can't move the cursor
  10889. # off the bottom line.  Out of the dialog area, ^K moves it up, but there
  10890. # is no way to scroll.
  10891. # Note that there is a floppy for free from Tek that makes the 
  10892. # 4112 emulate the vt52 (use the vt52 termcap). There is also
  10893. # an expected enhancement that will use ANSI standard sequences.
  10894. # 4112 in non-dialog area pretending to scroll. It really wraps 
  10895. # but vi is said to work (more or less) in this mode.
  10896. # 'vi' works reasonably well with this entry.
  10897. #
  10898. otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
  10899.     am, 
  10900.     cols#80, lines#34, 
  10901.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J, 
  10902.     rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0, 
  10903. # The 4112 with the ANSI compatibility enhancement
  10904. tek4112|tek4114|tektronix 4110 series, 
  10905.     am, db, 
  10906.     cols#80, lines#34, 
  10907.     cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
  10908.     cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M, 
  10909.     ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
  10910.     ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8, 
  10911.     rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  10912. tek4112-nd|4112 not in dialog area, 
  10913.     cuu1=^K, use=tek4112, 
  10914. tek4112-5|4112 in 5 line dialog area, 
  10915.     lines#5, use=tek4112, 
  10916. # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
  10917. # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
  10918. # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
  10919. # previously \0410 and \0411 sequences...I don't *think* they were supposed
  10920. # to be 4-digit octal -- esr)
  10921. tek4113|tektronix 4113 color graphics with 5 line dialog area, 
  10922.     am, da, eo, 
  10923.     cols#80, lines#5, 
  10924.     clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
  10925.     flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
  10926.     is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
  10927. tek4113-34|tektronix 4113 color graphics with 34 line dialog area, 
  10928.     lines#34, 
  10929.     is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113, 
  10930. # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
  10931. # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
  10932. # :vb: needs enough delay to let you see the background color being toggled.
  10933. tek4113-nd|tektronix 4113 color graphics with no dialog area, 
  10934.     am, eo, 
  10935.     cols#80, it#8, lines#34, 
  10936.     clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
  10937.     cvvis=\ELZ\EKA0, 
  10938.     flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
  10939.     home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @, 
  10940.     ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
  10941. # This entry is from Tek. Inc.  (Brian Biehl)
  10942. # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
  10943. otek4115|Tektronix 4115, 
  10944.     am, da, db, eo, 
  10945.     cols#80, it#8, lines#34, 
  10946.     cbt=\E[Z, clear=\E[H\E[2J, 
  10947.     cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B, 
  10948.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  10949.     cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J, 
  10950.     el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
  10951.     il1=\E[L, 
  10952.     is2=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m, 
  10953.     kbs=^H, ri=\EM, rmam=\E[?7l, 
  10954.     rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
  10955.     rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
  10956.     smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m, 
  10957.     smul=\E[4m, 
  10958. tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
  10959.     am, xon, 
  10960.     cols#80, lines#34, 
  10961.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  10962.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  10963.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  10964.     cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
  10965.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
  10966.     ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  10967.     il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
  10968.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  10969.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
  10970.     rmso=\E[m, rmul=\E[m, 
  10971.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  10972.     sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
  10973.     vpa=\E[%p1%{1}%+%dd, 
  10974. # The tek4125 emulates a vt100 incorrectly - the scrolling region
  10975. # command is ignored.  The following entry replaces <csr> with the needed
  10976. # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
  10977. # chokes on; and adds a lot of initialization for the tek dialog area.
  10978. # Note that this entry uses all 34 lines and sets the cursor color to green.
  10979. # Steve Jacobson 8/85
  10980. # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
  10981. # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
  10982. tek4125|tektronix 4125, 
  10983.     lines#34, 
  10984.     csr@, dl1=\E[1M, il1=\E[1L, 
  10985.     is2=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  10986.     rc@, sc@, smkx=\E=, 
  10987.     use=vt100, 
  10988.  
  10989. # From: <jcoker@ucbic>
  10990. # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
  10991. # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
  10992. # note that if jcoker wasn't confused you may be able to use this one.
  10993. # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
  10994. tek4207|Tektronix 4207 graphics terminal with memory, 
  10995.     am, bw, mir, msgr, ul, xenl, 
  10996.     cols#80, it#8, lines#32, 
  10997.     blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>, 
  10998.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  10999.     cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J, 
  11000.     el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>, 
  11001.     il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5, 
  11002.     is2=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J, 
  11003.     kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H, 
  11004.     rev=\E[7m, ri=\E[T, 
  11005.     rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
  11006.     rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m, 
  11007.     smul=\E[4m, tbc=\E[1g, 
  11008.  
  11009. # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
  11010. # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
  11011. # Tab had been given as \E2I,that must be the tab-set capability -- esr)
  11012. tek4404|tektronix 4404, 
  11013.     cols#80, it#8, lines#32, 
  11014.     blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
  11015.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  11016.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, 
  11017.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L, 
  11018.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
  11019.     rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
  11020.     rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
  11021.     smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h, 
  11022.     smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
  11023. # Some unknown person wrote:
  11024. # I added the is string - straight Unix has ESC ; in the login 
  11025. # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
  11026. # mode). The is string here cleans up a few things (but not 
  11027. # everything).
  11028. ct8500|tektronix ct8500, 
  11029.     am, bw, da, db, 
  11030.     cols#80, lines#25, 
  11031.     bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J, 
  11032.     cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER, 
  11033.     dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\, 
  11034.     il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s, 
  11035.     rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!, 
  11036.  
  11037. # Tektronix 4205 terminal.
  11038. #
  11039. # am is not defined because the wrap around occurs not when the char.
  11040. # is placed in the 80'th column, but when we are attempting to type
  11041. # the 81'st character on the line.  (esr: hmm, this is like the vt100
  11042. # version of xenl, perhaps am + xenl would work!)
  11043. #
  11044. # Bold, dim, and standout are simulated by colors and thus not allowed
  11045. # with colors.  The tektronix color table is mapped into the RGB color
  11046. # table by setf/setb. All colors are reset to factory specifications by oc.
  11047. # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
  11048. # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
  11049. # interval then maps into pre-defined value.
  11050. tek4205|tektronix 4205, 
  11051.     ccc, mir, msgr, 
  11052.     colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63, 
  11053.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  11054.     bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
  11055.     clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
  11056.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  11057.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  11058.     dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
  11059.     ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
  11060.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
  11061.     initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1, 
  11062.     invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
  11063.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
  11064.     kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
  11065.     kf7=\ES, 
  11066.     oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1, 
  11067.     op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
  11068.     rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
  11069.     setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
  11070.     setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
  11071.     sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
  11072.     smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
  11073.     smul=\E[4m, tbc=\E[1g, 
  11074.  
  11075. #### Teletype (tty)
  11076. #
  11077. # These are the hardcopy Teletypes from before AT&T bought the company,
  11078. # clattering electromechanical dinosaurs in Bakelite cases that printed on
  11079. # pulpy yellow roll paper.  If you remember these you go back a ways.
  11080. # Teletype-branded VDTs are listed in the AT&T section.
  11081. #
  11082. # The earliest UNIXes were designed to use these clunkers; nroff and a few
  11083. # other programs still default to emitting codes for the Model 37.
  11084. #
  11085.  
  11086. tty33|tty35|model 33 or 35 teletype, 
  11087.     hc, os, xon, 
  11088.     cols#72, 
  11089.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  11090. tty37|model 37 teletype, 
  11091.     hc, os, xon, 
  11092.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
  11093.     ind=^J, 
  11094.  
  11095. # There are known to be at least three flavors of the tty40, all seem more
  11096. # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
  11097. # awful braindamage, such as printing a visible newline indicator after each
  11098. # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
  11099. # braindamaged but has hope and is described here.  The 40-4 is a 3270
  11100. # lookalike and beyond hope.  The terminal has visible bell but I don't know
  11101. # it - it's null here to prevent it from showing the BL character.
  11102. # There is an \EG in <nl> because of a bug in old vi (if stty says you have
  11103. # a "newline" style terminal (-crmode) vi figures all it needs is nl
  11104. # to get crlf, even if <cr> is not ^M.)
  11105. # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
  11106. tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
  11107.     xon, 
  11108.     cols#80, lines#24, 
  11109.     clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
  11110.     cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
  11111.     ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
  11112.     ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
  11113.     kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4, 
  11114.     rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>, 
  11115. tty43|model 43 teletype, 
  11116.     am, hc, os, xon, 
  11117.     cols#132, 
  11118.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
  11119.  
  11120. #### Tymshare
  11121. #
  11122.  
  11123. # You can add <is2=\E<> to put this 40-column mode, though I can't
  11124. # for the life of me think why anyone would want to.
  11125. scanset|sc410|sc415|Tymshare Scan Set, 
  11126.     am, bw, msgr, 
  11127.     cols#80, lines#24, 
  11128.     acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
  11129.     cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  11130.     cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
  11131.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
  11132.     mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
  11133.  
  11134. #### Volker-Craig (vc)
  11135. #
  11136. # If you saw a Byte Magazine cover with a terminal on it during the early
  11137. # 1980s, it was probably one of these.  Carl Helmers liked them because
  11138. # they could crank 19.2 and were cheap (that is, until he tried to program
  11139. # one...)
  11140. #
  11141.  
  11142. # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
  11143. # every other linefeed.
  11144. vc303|vc103|vc203|volker-craig 303, 
  11145.     am, 
  11146.     cols#80, lines#24, 
  11147.     bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
  11148.     cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, 
  11149.     kcuu1=^N, ll=\017$<1>W, 
  11150. vc303a|vc403a|volker-craig 303a, 
  11151.     clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
  11152.     home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303, 
  11153. # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
  11154. vc404|volker-craig 404, 
  11155.     am, 
  11156.     cols#80, lines#24, 
  11157.     bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  11158.     cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  11159.     ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
  11160.     kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
  11161. vc404-s|volker-craig 404 w/standout mode, 
  11162.     cud1=^J, rmso=^O, smso=^N, use=vc404, 
  11163. # From: <wolfgang@cs.sfu.ca>
  11164. # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
  11165. vc414|vc414h|Volker-Craig 414H in sane escape mode., 
  11166.     am, 
  11167.     cols#80, lines#24, 
  11168.     clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
  11169.     cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
  11170.     dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R, 
  11171.     ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P, 
  11172.     kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE, 
  11173.     kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, 
  11174.     lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
  11175.     rmso=\E^_, smso=\E^Y, 
  11176. vc415|volker-craig 415, 
  11177.     clear=^L, use=vc404, 
  11178.  
  11179. ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
  11180. #
  11181.  
  11182. #### IBM PC and clones
  11183. #
  11184.  
  11185. # The pcplot IBM-PC terminal emulation program is really messed up. It is
  11186. # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
  11187. # doesn't support scrolling regions, ignores add line commands, and ignores
  11188. # delete line commands. Consequently, the resulting behavior looks like a
  11189. # crude adm3a-type terminal.
  11190. # Steve Jacobson 8/85
  11191. pcplot|pc-plot terminal emulation program, 
  11192.     xenl@, 
  11193.     csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100, 
  11194. # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
  11195. # I've found that my KayPro II, running MDM730, continues to emulate an
  11196. # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
  11197. # system the following termcap entry works well:
  11198. # I have noticed a couple of minor glitches, but nothing I can't work
  11199. # around. (I added two capabilities from the BRL entry -- esr)
  11200. kaypro|kaypro2|kaypro II, 
  11201.     am, 
  11202.     cols#80, lines#24, 
  11203.     bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L, 
  11204.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W, 
  11205.     el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  11206.  
  11207. # From IBM, Thu May  5 19:35:27 1983
  11208. # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
  11209. ibmpc|ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
  11210.     am, 
  11211.     cols#80, lines#24, 
  11212.     bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
  11213.     cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
  11214.  
  11215. #### Apple II
  11216. #
  11217. # Apple II firmware console first, then various 80-column cards and 
  11218. # terminal emulators.  For two cents I'd toss all these in the UFO file
  11219. # along with the 40-column apple entries.
  11220. #
  11221.  
  11222. # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
  11223. #    'it#8' tells UNIX that you have tabs every 8 columns.  This is a
  11224. #        function of TIC, not the firmware.
  11225. #    The clear key on a IIgs will do something like clear-screen, 
  11226. #        depending on what you're in.
  11227. appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface, 
  11228.     am, bw, eo, msgr, 
  11229.     cols#80, it#8, lines#24, 
  11230.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
  11231.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  11232.     home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J, 
  11233.     kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N, 
  11234.     smso=^O, 
  11235. # Apple //e with 80-column card, entry from BRL
  11236. # The modem interface is permitted to discard LF (maybe DC1), otherwise
  11237. # passing characters to the 80-column firmware via COUT (PR#3 assumed).
  11238. # Auto-wrap does not work right due to newline scrolling delay, which also
  11239. # requires that you set "stty cr2".
  11240. # Note: Cursor addressing is only available via the Pascal V1.1 entry,
  11241. # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
  11242. # using a terminal emulation program instead of the built-in firmware.
  11243. apple2e|Apple //e, 
  11244.     bw, msgr, 
  11245.     cols#80, lines#24, 
  11246.     bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_, 
  11247.     ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W, 
  11248.     is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K, 
  11249.     nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
  11250.     smso=^O, 
  11251. # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
  11252. # 4.20, with incoming and outgoing terminals both on 0, emulation On.
  11253. apple2e-p|Apple //e via Pascal, 
  11254.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H, 
  11255.     kcud1=^J, 
  11256.     use=apple2e, 
  11257. # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
  11258. # Enable DC3/DC1 flow control with "stty ixon -ixany".
  11259. apple-ae|ASCII Express, 
  11260.     am, bw, msgr, nxon, xon, 
  11261.     cols#80, it#8, lines#24, 
  11262.     bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  11263.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  11264.     home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J, 
  11265.     kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
  11266.     smso=^O, 
  11267. appleII|apple ii plus, 
  11268.     am, 
  11269.     cols#80, it#8, lines#24, 
  11270.     clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
  11271.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6, 
  11272.     ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
  11273.     is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N, 
  11274.     smso=^O, 
  11275. # Originally by Gary Ford 21NOV83
  11276. # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
  11277. apple-80|apple II with smarterm 80 col, 
  11278.     am, bw, 
  11279.     cols#80, lines#24, 
  11280.     cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J, 
  11281.     cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
  11282.     ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
  11283. apple-soroc|apple emulating soroc 120, 
  11284.     am, 
  11285.     cols#80, lines#24, 
  11286.     bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  11287.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
  11288.     home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  11289. # From Peter Harrison, Computer Graphics Lab, San Francisco
  11290. #   ucbvax!ucsfmis!harrison  .....uucp
  11291. #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
  11292. # "These two work.  If you don't have the inverse video chip for the
  11293. # Apple with videx then remove the :so: and :se: fields."
  11294. # (apple-videx: this used to be called DaleApple -- esr)
  11295. apple-videx|Apple with videx videoterm 80 column board with inverse video, 
  11296.     am, xenl, 
  11297.     cols#80, it#8, lines#24, 
  11298.     clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
  11299.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  11300.     home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y, 
  11301.     rmso=^Z2, sgr0=^Z2, smso=^Z3, 
  11302. # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
  11303. #                  Apple Cat ][ 212 modem, + more all
  11304. #                  controlled by ASCII Express: Pro.
  11305. # From Dave Shaver <isucs1!shaver>
  11306. apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell, 
  11307.     am, eo, xt, 
  11308.     cols#80, lines#24, 
  11309.     acsc=, clear=^L, cuf1=^\, 
  11310.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  11311.     flash=^W35^W06, home=^Y, 
  11312.     is2=^V4^W06\017\rVisible Bell Installed.\016\r\n, 
  11313.     rmso=^N, smso=^O, 
  11314. apple-uterm|Ultraterm for Apple micros, 
  11315.     am, eo, xt, 
  11316.     cols#80, lines#24, 
  11317.     acsc=, clear=^L, cuf1=^\, 
  11318.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  11319.     home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O, 
  11320. # from trwrba!bwong (Bradley W. Wong):
  11321. #
  11322. # This entry assumes that you are using an apple with the UCSD Pascal
  11323. # language card.  SYSTEM.MISCINFO is assumed to be the same as that
  11324. # supplied with the standard apple except that screenwidth should be set
  11325. # using SETUP to 80 columns.  Note that the right arrow in not mapped in
  11326. # this termcap entry.  This is because that key, on the Apple, transmits
  11327. # a ^U and would thus preempt the more useful "up" function of vi.
  11328. #
  11329. # HMH 2/23/81
  11330. apple80p|80-column apple with Pascal card, 
  11331.     am, bw, 
  11332.     cols#80, lines#24, 
  11333.     clear=^Y^L, cuf1=^\\:, 
  11334.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  11335.     home=^Y, kcub1=^H, 
  11336. #
  11337. # Apple II+ equipped with Videx 80 column card
  11338. #
  11339. # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
  11340. # manually converted by D A Gwyn
  11341. #
  11342. # DO NOT use any terminal emulation with this data base, it works directly
  11343. # with the Videx card.  This has been tested with vi 1200 baud and works fine.
  11344. #
  11345. # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
  11346. # 1 screen, while in R2 ^U doesn't.
  11347. # For inverse alternate character set add:
  11348. #    <smacs>=^O:<rmacs>=^N:
  11349. # (apple-v: added it#8 -- esr)
  11350. apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520), 
  11351.     am, xenl, 
  11352.     cols#80, it#8, lines#24, 
  11353.     bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H, 
  11354.     cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
  11355.     cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>, 
  11356.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
  11357.     khome=^Y, rmso=^Z2, smso=^Z3, 
  11358. apple-videx3|vapple|Apple II with 80 col card, 
  11359.     am, 
  11360.     cols#80, lines#24, 
  11361.     clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  11362.     cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  11363.     kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, 
  11364.     kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%, kf9=\E&, khome=\EH, 
  11365. #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
  11366. aepro|Apple II+ running ASCII Express Pro--vt52, 
  11367.     cols#80, lines#24, 
  11368.     clear=\014$<300/>, cuf1=\EC, 
  11369.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  11370.     el=\EK, home=\EH, 
  11371. # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
  11372. apple-vm80|ap-vm80|apple with viewmax-80, 
  11373.     cols#80, lines#24, 
  11374.     clear=\014$<300/>, cuf1=^\\:, 
  11375.     cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_, 
  11376.     ed=\013$<300/>, el=^], home=\031$<200/>, 
  11377.  
  11378. #### Apple Lisa & Macintosh
  11379. #
  11380.  
  11381. # (lisa: changed <cvvis> to <cnorm> -- esr)
  11382. lisa|apple lisa console display (black on white), 
  11383.     am, eo, msgr, 
  11384.     cols#88, it#8, lines#32, 
  11385.     acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L, 
  11386.     cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  11387.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  11388.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
  11389.     is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  11390.     kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
  11391.     sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
  11392. liswb|apple lisa console display (white on black), 
  11393.     is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
  11394.     smso=\E[m, smul=\E[4m, use=lisa, 
  11395.  
  11396. # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
  11397. # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
  11398. #
  11399. # These entries assume that the 'Auto Wraparound' is enabled.
  11400. # Xon-Xoff flow control should also be enabled.
  11401. #
  11402. # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
  11403. # settings are in non-volatile memory and don't need to be reset upon login.
  11404. # Also setting the number of columns glitches the screen annoyingly.
  11405. # You can type "reset" to get them set.
  11406. #
  11407. lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation, 
  11408.     am, xenl, xon, 
  11409.     cols#80, it#8, lines#24, vt#3, 
  11410.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  11411.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  11412.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  11413.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
  11414.     el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, 
  11415.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ, 
  11416.     kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8, 
  11417.     rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  11418.     rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r, 
  11419.     sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  11420.     tbc=\E[3g, 
  11421. # Lisaterm in 132 column ("wide") mode.
  11422. lisaterm-w|Apple Lisa with Lisaterm in 132 column mode, 
  11423.     cols#132, 
  11424.     kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm, 
  11425. # Although MacTerminal has insert/delete line, it is commented out here
  11426. # since it is much faster and cleaner to use the "lock scrolling region"
  11427. # method of inserting and deleting lines due to the MacTerminal implementation.
  11428. # Also, the "Insert/delete ch" strings have an extra character appended to them
  11429. # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
  11430. # supported by MacTerminal.
  11431. mac|macintosh|Macintosh with MacTerminal, 
  11432.     xenl, 
  11433.     blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa, 
  11434. # Lisaterm in 132 column ("wide") mode.
  11435. mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode, 
  11436.     cols#132, use=mac, 
  11437.  
  11438. #### Radio Shack/Tandy
  11439. #
  11440.  
  11441. # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
  11442. # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
  11443. # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
  11444. coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
  11445.     am, 
  11446.     cols#80, it#8, lines#24, 
  11447.     bel=^G, blink=^_", bold=\E\:^A, civis=^E\s, 
  11448.     clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F, 
  11449.     cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
  11450.     dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
  11451.     kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
  11452.     sgr0=\037!\E\:\0, smso=^_\s, smul=^_", 
  11453. # (trs2: removed obsolete ":nl=^_:" -- esr)
  11454. trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
  11455.     am, msgr, 
  11456.     cols#80, it#8, lines#24, 
  11457.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
  11458.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B, 
  11459.     el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\, 
  11460.     kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N, 
  11461. # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
  11462. # (This had extension capabilities
  11463. #    :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
  11464. #    :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
  11465. # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
  11466. trs16|trs-80 model 16 console, 
  11467.     am, 
  11468.     cols#80, it#8, lines#24, 
  11469.     acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L, 
  11470.     cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  11471.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
  11472.     dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
  11473.     ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  11474.     kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, 
  11475.     khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, 
  11476.     lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, 
  11477.     smacs=\ERG, smso=\ERD, 
  11478.  
  11479. #### Atari ST
  11480. #
  11481.  
  11482. # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
  11483. atari|atari st, 
  11484.     am, 
  11485.     cols#80, it#8, lines#25, 
  11486.     clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
  11487.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  11488.     ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB, 
  11489.     kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep, 
  11490. # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
  11491. # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
  11492. uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
  11493.     lines#49, 
  11494.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, use=vt220, 
  11495. # MiNT VT52 emulation. 80 columns, 25 rows.
  11496. # MiNT is Now TOS, the operating system which comes with all Ataris now
  11497. # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
  11498. # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
  11499. # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
  11500. st52|Atari ST with VT52 emulation, 
  11501.     am, km, 
  11502.     cols#80, lines#25, 
  11503.     bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED, 
  11504.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  11505.     cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 
  11506.     ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
  11507.     kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M, 
  11508.     kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>, 
  11509.     kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
  11510.     kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek, 
  11511.     ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq, 
  11512.     smcup=\Ee, smso=\Ep, 
  11513.  
  11514. #### Commodore Business Machines
  11515. #
  11516. # Formerly located in West Chester, PA; went spectacularly bust in 1994
  11517. # after years of shaky engineering and egregious mismanagement.  Made one
  11518. # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
  11519. # C-128, VIC-20).  The C-64 is said to have been the most popular machine
  11520. # ever (most units sold); they can still be found gathering dust in closets
  11521. # everywhere.
  11522. #
  11523.  
  11524. # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
  11525. # Added a few more entries, converted caret-type control sequence (^x) entries
  11526. # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
  11527. #
  11528. # :as:, :ae:            Support for alternate character sets.
  11529. # :ve=\E[\040p:vi=\E[\060\040p:    cursor visible/invisible.
  11530. # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
  11531. #     This one appears to fix a problem I always had with a line ending
  11532. #     at 'width+1' (I think) followed by a blank line in vi. The blank
  11533. #     line tended to disappear and reappear depending on how the screen
  11534. #     was refreshed. Note that this is probably needed only if you use
  11535. #     something like a Dnet Fterm with the window sized to some peculiar
  11536. #     dimension larger than 80 columns.
  11537. # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
  11538. # (amiga: removed obsolete :kn#10:,
  11539. # also added empty <acsc> to suppress a warning --esr)
  11540. amiga|Amiga ANSI, 
  11541.     am, bw, xenl, 
  11542.     cols#80, lines#24, 
  11543.     acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
  11544.     civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD, 
  11545.     cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  11546.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  11547.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  11548.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  11549.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
  11550.     indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, kcub1=\ED, 
  11551.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\E9~, kf1=\E0~, 
  11552.     kf2=\E1~, kf3=\E2~, kf4=\E3~, kf5=\E4~, kf6=\E5~, kf7=\E6~, 
  11553.     kf8=\E7~, kf9=\E8~, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
  11554.     rmacs=^O, rmso=\E[m, rmul=\E[m, rs1=\Ec, sgr0=\E[m, smacs=^N, 
  11555.     smso=\E[7m, smul=\E[4m, 
  11556.  
  11557. # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
  11558. # (amiga: added empty <acsc> to suppress a warning.
  11559. # I'm told this entry screws up badly with AS225, the Amiga
  11560. # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
  11561. amiga-h|Hans Verkuil's Amiga ANSI, 
  11562.     bw, msgr, 
  11563.     cols#80, lines#24, 
  11564.     acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
  11565.     civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M, 
  11566.     cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
  11567.     cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
  11568.     cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
  11569.     dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
  11570.     home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S, 
  11571.     indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H, 
  11572.     kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
  11573.     kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~, 
  11574.     kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
  11575.     kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
  11576.     rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m, 
  11577.     rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
  11578.     smso=\2337m, smul=\2334m, 
  11579.  
  11580. # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
  11581. #     I'm trying to write a termcap for a commodore b-128, and I'm
  11582. # having a little trouble. I've had to map most of my control characters
  11583. # to something that unix will accept (my delete-char is a ctrl-t, etc),
  11584. # and create some functions (like cm), but thats life.
  11585. #     The problem is with the arrow keys - right, and up work fine, but
  11586. # left deletes the previous character and down I just can't figure out.
  11587. # Jove knows what I want, but I don't know what it's sending to me (it
  11588. # isn't thats bound to next-line in jove).
  11589. #     Anybody got any ideas? Here's my termcap.
  11590. # DAG -- I changed his "^n" entries to "\n"; see if that works.
  11591. #
  11592. commodore|b-128|Commodore B-128 micro, 
  11593.     am, bw, 
  11594.     cols#80, lines#24, pb#150, 
  11595.     clear=\E\006$<10/>, cr=^M, cud1=^J, cuf1=^F, 
  11596.     cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P, 
  11597.     dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>, 
  11598.     home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>, 
  11599.     kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=, 
  11600.     smir=, 
  11601.  
  11602. #### North Star
  11603. #
  11604. # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
  11605. northstar|North Star Advantage, 
  11606.     cols#80, lines#24, 
  11607.     clear=\004$<200/>, 
  11608.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>, 
  11609.     el=\016$<200/>, home=\034\032$<200/>, 
  11610.  
  11611. #### Osborne
  11612. #
  11613. # Thu Jul  7 03:55:16 1983
  11614. #    
  11615. # As an aside, be careful; it may sound like an anomaly on the 
  11616. # Osborne, but with the 80-column upgrade, it's too easy to 
  11617. # enter lines >80 columns!
  11618. #    
  11619. # I've already had several comments...
  11620. # The Osborne-1 with the 80-col option is capable of being 
  11621. # 52, 80, or 104 characters wide; default to 80 for compatibility 
  11622. # with most systems.
  11623. #    
  11624. # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
  11625. osborne-w|osborne1-w|osborne I in 104-column mode, 
  11626.     msgr, ul, xt, 
  11627.     cols#104, lines#24, 
  11628.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  11629.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  11630.     dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
  11631.     kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El, 
  11632. # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
  11633. osborne|osborne1|osborne I in 80-column mode, 
  11634.     am, mir, msgr, ul, xhp, 
  11635.     cols#80, lines#24, 
  11636.     clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
  11637.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  11638.     dch1=\\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
  11639.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
  11640.     rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
  11641. #
  11642. # Osborne Executive definition from BRL
  11643. # Similar to tvi920
  11644. # Added by David Milligan and Tom Smith (SMU)
  11645. osexec|Osborne executive, 
  11646.     am, 
  11647.     cols#80, lines#24, xmc#1, 
  11648.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  11649.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  11650.     dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
  11651.     is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
  11652.     kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
  11653.     kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
  11654.     kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej, 
  11655.     smul=\El, tbc=\E3, 
  11656.  
  11657. #### Console types for obsolete UNIX clones
  11658. #
  11659. # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
  11660. # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
  11661. # were commercial, Minix an educational tool sold in conjunction with a book.
  11662. # Memory-segmentation limits and a strong tendency to look like V7 long after
  11663. # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
  11664. # and Minix were ported to 32-bit Intel boxes, only to be run over by a
  11665. # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
  11666. # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
  11667. # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
  11668. # even as single processes under SunOS and the Macintosh OS.
  11669. #
  11670.  
  11671. # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
  11672. minix|minix console (v1.7), 
  11673.     am, xenl, 
  11674.     cols#80, it#8, lines#25, 
  11675.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
  11676.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  11677.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  11678.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  11679.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
  11680.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  11681.     is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  11682.     kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, 
  11683.     kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
  11684.     lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
  11685.     rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
  11686. # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
  11687. minix-old|minix console (v1.5), 
  11688.     xon, 
  11689.     cols#80, it#8, lines#25, 
  11690.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
  11691.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  11692.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  11693.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  11694.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
  11695.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  11696.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  11697.     kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
  11698.     khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
  11699.     rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
  11700. # The linewrap option can be specified by editing /usr/include/minix/config.h
  11701. # before recompiling the minix 1.5 kernel.
  11702. minix-old-am|minix console with linewrap, 
  11703.     am, use=minix-old, 
  11704.  
  11705. pc-minix|minix console on an Intel box, 
  11706.     use=klone+acs, use=minix, 
  11707.  
  11708. # According to the Coherent 2.3 manual, the PC console is similar
  11709. # to a z19. The differences seem to be (1) 25 lines, (2) no status
  11710. # line, (3) standout is broken, (4) ins/del line is broken, (5)
  11711. # has blinking and bold.
  11712. pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
  11713.     am, mir, 
  11714.     cols#80, it#8, lines#25, 
  11715.     bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  11716.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN, 
  11717.     ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
  11718.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
  11719.     rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep, 
  11720.  
  11721. # According to the Venix 1.1 manual, the PC console is similar
  11722. # to a DEC vt52.  Differences seem to be (1) arrow keys send 
  11723. # different strings, (2) enhanced standout, (3) added insert/delete line.
  11724. # Note in particular that it doesn't have automatic margins.
  11725. # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
  11726. # not described here because this derives from an old termcap entry.
  11727. pc-venix|venix|IBM PC console running Venix, 
  11728.     cols#80, it#8, lines#25, 
  11729.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  11730.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  11731.     ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK, 
  11732.     kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI, 
  11733.  
  11734. #### Miscellaneous microcomputer consoles
  11735. #
  11736. # If you know anything more about any of these, please tell me.
  11737. #
  11738.  
  11739. # The MAI Basic Four computer was obsolete at the end of the 1980s.
  11740. # It may be used as a terminal by putting it in "line" mode as seen on 
  11741. # one of the status lines.
  11742. # Initialization is similar to CIT80. <is2> will set ANSI mode for you.  
  11743. # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
  11744. # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I 
  11745. # used \ED instead.
  11746. # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
  11747. mai|basic4|MAI Basic Four in ansi mode, 
  11748.     am, da, db, mir, msgr, 
  11749.     cols#82, it#8, lines#25, 
  11750.     bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h, 
  11751.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X, 
  11752.     cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P, 
  11753.     dl1=\E[M, ed=^_, el=^^, home=^], ht=^I, 
  11754.     if=/usr/lib/tabset/vt100, il1=\E[L, ind=\ED, 
  11755.     is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
  11756.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  11757.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
  11758.     kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T, 
  11759.     rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
  11760.     smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  11761. # basis from Peter Harrison, Computer Graphics Lab, San Francisco
  11762. #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
  11763. # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
  11764. basis|BASIS108 computer with terminal translation table active, 
  11765.     clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H, 
  11766.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E), 
  11767.     smso=\E(, 
  11768.     use=adm3a, 
  11769. # luna's BMC terminal emulator
  11770. luna|luna68k|LUNA68K Bitmap console, 
  11771.     cols#88, lines#46, use=ansi-mini, 
  11772. megatek|pegasus workstation terminal emulator, 
  11773.     am, os, 
  11774.     cols#83, lines#60, 
  11775. # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
  11776. # interface (pre-Macintosh by several years) that went nowhere.
  11777. xerox820|x820|Xerox 820, 
  11778.     am, 
  11779.     cols#80, lines#24, 
  11780.     bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  11781.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X, 
  11782.     home=^^, ind=^J, 
  11783.  
  11784. #### Videotex and teletext
  11785. #
  11786.  
  11787. # \E\:1}    switch to te'le'informatique mode (ascii terminal/ISO 6429)
  11788. # \E[?3l    80 columns
  11789. # \E[?4l    scrolling on
  11790. # \E[12h    local echo off
  11791. # \Ec        reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
  11792. # \E)0        G1 DEC set (line graphics)
  11793. #
  11794. # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
  11795. m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique, 
  11796.     eslok, hs, xenl, 
  11797.     cols#80, it#8, lines#24, wsl#72, xmc#0, 
  11798.     acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
  11799.     blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J, 
  11800.     cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  11801.     cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  11802.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  11803.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  11804.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J, 
  11805.     home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=^J, 
  11806.     ip=$<7/>, is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0, 
  11807.     is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  11808.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp, 
  11809.     kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, 
  11810.     kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H, 
  11811.     kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H, 
  11812.     mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rin=\EM, 
  11813.     rmacs=^O, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
  11814.     rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, 
  11815.     smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
  11816.     u6=\E[%i%d;%dR, u7=\E[6n, 
  11817.  
  11818. ######## OBSOLETE VDT TYPES
  11819. #
  11820. # These terminals are *long* dead -- these entries are retained for
  11821. # historical interest only.
  11822.  
  11823. #### Amtek Business Machines
  11824. #
  11825.  
  11826. # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
  11827. # but these caps were commented out in 8.3; also, removed overridden
  11828. # ":do=^J:" -- esr)
  11829. abm80|amtek business machines 80, 
  11830.     am, bw, 
  11831.     cols#80, lines#24, 
  11832.     cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
  11833.     cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
  11834.     dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
  11835.  
  11836. #### Bell Labs blit terminals
  11837. #
  11838. # These were AT&T's official entries.  The 5620 FAQ maintained by 
  11839. # David Breneman <daveb@dgtl.com> has this to say:
  11840. #
  11841. #  Actually, in the beginning was the Jerq, and the Jerq was white with a
  11842. #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
  11843. #  was good.  But lo, upon the horizon loomed a mighty management-type person
  11844. #  (known now only by the initials VP) who said, the mighty Jerq must stay
  11845. #  alone, and could not go forth into the world. So Locanthi and Pike put the
  11846. #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
  11847. #  world. And the Jerq lived the rest of its days in research, but never
  11848. #  strayed from those paths.
  11849. #
  11850. #  In all seriousness, the Blit was originally known as the Jerq, but when
  11851. #  it started to be shown outside of the halls of the Bell Labs Research
  11852. #  organization, the management powers that be decided that the name could
  11853. #  not remain. So it was renamed to be Blit. This was in late 1981.
  11854. #
  11855. # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
  11856. # 730, and 730+.)
  11857. #
  11858.  
  11859. blit|jerq|blit running teletype rom, 
  11860.     am, eo, ul, xon, 
  11861.     cols#87, it#8, lines#72, 
  11862.     bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
  11863.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
  11864.     dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c, 
  11865.     dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!, 
  11866.     il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, 
  11867.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
  11868.  
  11869. # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
  11870. cbblit|fixterm|blit running columbus code, 
  11871.     cols#88, 
  11872.     ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d, 
  11873.     rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!, 
  11874.     smul=\EU", 
  11875.     use=blit, 
  11876.  
  11877. oblit|ojerq|first version of blit rom, 
  11878.     am, da, db, eo, mir, ul, xon, 
  11879.     cols#88, it#8, lines#72, 
  11880.     bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
  11881.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO, 
  11882.     dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G, 
  11883.     ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER, 
  11884.     smir=\EQ, 
  11885.  
  11886. #### Bolt, Beranek & Newman (bbn)
  11887. #
  11888. # The BitGraph was a product of the now-defunct BBN Computer Corporation.
  11889. # The parent company, best known as the architects of the Internet, is
  11890. # still around.
  11891. #
  11892. # Jeff DelPapa <dp@world.std.com> writes:
  11893. # The bitgraph was a large white box that contained a monochrome bitmap
  11894. # display, and a 68000 to run it.  You could download code and run it on
  11895. # the cpu, it had 128kb (I think) of memory.  I used one in the late
  11896. # 70's, sure beat a vt100.  It had one strange feature tho -- it used
  11897. # the cpu to bitblt pixels to scroll, it took longer than the refresh
  11898. # rate, and looked like a rubber sheet stretching, then snapping
  11899. # upwards.  It had everything the early mac had, except a floppy drive a
  11900. # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
  11901. # Beranek and Neuman) sold at most a few hundred of them to the real
  11902. # world.  DOD may have bought more...
  11903.  
  11904. # Entries for the BitGraph terminals.  The problem 
  11905. # with scrolling in vi can only be fixed by getting BBN to put 
  11906. # smarter scroll logic in the terminal or changing vi or padding 
  11907. # scrolls with about 500 ms delay.
  11908. #    
  11909. # I always thought the problem was related to the terminal 
  11910. # counting newlines in its input buffer before scrolling and 
  11911. # then moving the screen that much. Then vi comes along and 
  11912. # paints lines in on the bottom line of the screen, so you get 
  11913. # this big white gap.
  11914.  
  11915. bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
  11916.     flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
  11917.     use=bg2.0, 
  11918. bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
  11919.     flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
  11920.     use=bg2.0, 
  11921. bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
  11922.     xenl, 
  11923.     cols#85, lines#64, 
  11924.     bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
  11925.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  11926.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>, 
  11927.     ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, 
  11928.     ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  11929.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, 
  11930.     lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7, 
  11931.     sgr0=\E[m, smkx=\E=, smso=\E[7m, 
  11932.  
  11933. bg1.25rv|bbn bitgraph 1.25 (reverse video), 
  11934.     flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, use=bg1.25, 
  11935. bg1.25nv|bbn bitgraph 1.25 (normal video), 
  11936.     flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, use=bg1.25, 
  11937. # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
  11938. bg1.25|bbn bitgraph 1.25, 
  11939.     cols#85, lines#64, 
  11940.     bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B, 
  11941.     cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
  11942.     dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
  11943.     il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB, 
  11944.     kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, 
  11945.     lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l, 
  11946.     rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
  11947.     smso=\E[7m, 
  11948.  
  11949. #### Chromatics
  11950. #
  11951.  
  11952. # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
  11953. # that is smaller than the screen, and puts up a warning message 
  11954. # outside the window. Te erases the warning message, puts the 
  11955. # window back to be the whole screen, and puts the cursor at just
  11956. # below the small window. I defined <cnorm> and <civis> to really turn 
  11957. # the cursor on and off, but I have taken this out since I don't 
  11958. # like the cursor being turned off when vi exits.   
  11959. cg7900|chromatics|chromatics 7900, 
  11960.     am, 
  11961.     cols#80, lines#40, 
  11962.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
  11963.     cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2, 
  11964.     ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
  11965.     rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
  11966.     rmso=\001C1\,\001c2\,, 
  11967.     smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
  11968.     smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 
  11969.  
  11970. #### Computer Automation
  11971. #
  11972.  
  11973. ca22851|computer automation 22851, 
  11974.     am, 
  11975.     cols#80, lines#24, 
  11976.     bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I, 
  11977.     cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J, 
  11978.     kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^, 
  11979.  
  11980. #### Cybernex
  11981. #
  11982.  
  11983. # This entry has correct padding and the undocumented "ri" capability
  11984. cyb83|xl83|cybernex xl-83, 
  11985.     am, 
  11986.     cols#80, lines#24, 
  11987.     bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
  11988.     cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
  11989.     ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H, 
  11990.     kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
  11991. # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
  11992. cyb110|mdl110|cybernex mdl-110, 
  11993.     am, 
  11994.     cols#80, lines#24, 
  11995.     bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  11996.     cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  11997.     dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
  11998.     ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
  11999.     ht=\011$<43>, ich1=\016A\035$<3.5>, 
  12000.     il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
  12001.  
  12002. #### Datapoint
  12003. #
  12004. # Datapoint is gone.  They used to be headquartered in Texas.
  12005. # They created ARCnet, an Ethernet competitor that flourished for a while
  12006. # in the early 1980s before 3COM got wise and cut its prices.  The service
  12007. # side of Datapoint still lives (1995) in the form of Intelogic Trace.
  12008. #
  12009.  
  12010. dp3360|datapoint|datapoint 3360, 
  12011.     am, 
  12012.     cols#82, lines#25, 
  12013.     bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
  12014.     ed=^_, el=^^, home=^], ind=^J, 
  12015.  
  12016. # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
  12017. # The Datapoint 8242 Workstation was sold at least between 1985 
  12018. # and 1989. To make the terminal work with this entry, press 
  12019. # CONTROL-INT-INT to take the terminal off-line, and type (opt). 
  12020. # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
  12021. # CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
  12022. # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
  12023. # fact unusable because the strings sent by the terminal conflict
  12024. # with other keys).
  12025. # The terminal is capable of displaying "box draw" characters.
  12026. # For each graphic character you must send 2 ESC's (\E\E) followed 
  12027. # by a control character as follows: 
  12028. #         character        meaning
  12029. #         =========        =======
  12030. #         ctrl-E           top tee
  12031. #         ctrl-F           right tee
  12032. #         ctrl-G           bottom tee
  12033. #         ctrl-H           left tee
  12034. #         ctrl-I           cross
  12035. #         ctrl-J           top left corner
  12036. #         ctrl-K           top right corner
  12037. #         ctrl-L           bottom left corner
  12038. #         ctrl-M           bottom right corner
  12039. #         ctrl-N           horizontal line
  12040. #         ctrl-O           vertical line
  12041. # Unfortunately this cannot be fitted into the termcap/terminfo 
  12042. # description scheme. 
  12043. dp8242|datapoint 8242, 
  12044.     msgr, 
  12045.     cols#80, lines#25, 
  12046.     bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X, 
  12047.     cr=^M, cub1=^H, cud1=^J, 
  12048.     cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V, 
  12049.     home=^U, ht=^I, il1=\E^T, ind=^C, 
  12050.     is1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
  12051.     kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee, 
  12052.     kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea, 
  12053.     kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J, 
  12054.     rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D, 
  12055.     rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
  12056.     smso=\E^E, smul=\E^F, 
  12057.     wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025, 
  12058.  
  12059. #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
  12060. #
  12061. # These entries are DEC's official terminfos for its older terminals.
  12062. # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
  12063. # Engineering for more information.  Updated terminfos and termcaps 
  12064. # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
  12065. #
  12066.  
  12067. gt40|dec gt40, 
  12068.     os, 
  12069.     cols#72, lines#30, 
  12070.     bel=^G, cr=^M, cub1=^H, cud1=^J, 
  12071. gt42|dec gt42, 
  12072.     os, 
  12073.     cols#72, lines#40, 
  12074.     bel=^G, cr=^M, cub1=^H, cud1=^J, 
  12075. vt50|dec vt50, 
  12076.     cols#80, lines#12, 
  12077.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  12078.     cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
  12079. vt50h|dec vt50h, 
  12080.     cols#80, lines#12, 
  12081.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  12082.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  12083.     el=\EK, ht=^I, ind=^J, ri=\EI, 
  12084. # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
  12085. vt61|vt-61|vt61.5|dec vt61, 
  12086.     cols#80, lines#24, 
  12087.     bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J, 
  12088.     cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
  12089.     cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
  12090.     ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  12091.     ri=\E$<20>I, 
  12092.  
  12093. # The gigi does standout with red!
  12094. # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
  12095. gigi|vk100|dec gigi graphics terminal, 
  12096.     am, xenl, 
  12097.     cols#84, lines#24, 
  12098.     bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  12099.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  12100.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
  12101.     el=\E[K, ht=^I, ind=^J, 
  12102.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
  12103.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  12104.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
  12105.     rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  12106.     sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m, 
  12107.     smul=\E[4m, 
  12108.  
  12109. # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
  12110. # a PC differentiated from the IBM clones.  It was a total, ludicrous,
  12111. # grossly-overpriced failure (among other things, DEC's OS didn't include
  12112. # a format program, so you had to buy pre-formatted floppies from DEC at
  12113. # a hefty premium!).
  12114. pro350|decpro|dec pro console, 
  12115.     cols#80, it#8, lines#24, 
  12116.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  12117.     clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
  12118.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  12119.     el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  12120.     kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI, 
  12121.     kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG, 
  12122.     rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D, 
  12123.  
  12124. dw1|decwriter I, 
  12125.     hc, os, 
  12126.     cols#72, 
  12127.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  12128. dw2|decwriter|dw|decwriter II, 
  12129.     hc, os, 
  12130.     cols#132, 
  12131.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
  12132. # \E(B        Use U.S. character set (otherwise # => british pound !)
  12133. # \E[20l    Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
  12134. # \E[w       10 char/in pitch
  12135. # \E[1;132    full width horizontal margins
  12136. # \E[2g        clear all tab stops
  12137. # \E[z        6 lines/in
  12138. # \E[66t    66 lines/page (for \f)
  12139. # \E[1;66r    full vertical page can be printed
  12140. # \E[4g        clear vertical tab stops
  12141. # \E>        disable alternate keypad mode (so it transmits numbers!)
  12142. # \E[%i%p1%du    set tab stop at column %d (origin == 1)
  12143. #        (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
  12144. #        a tab stop)
  12145. #
  12146. #       The dw3 does standout with wide characters.
  12147. #
  12148. dw3|la120|decwriter III, 
  12149.     hc, os, 
  12150.     cols#132, 
  12151.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
  12152.     is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
  12153.     is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
  12154.     kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w, 
  12155. dw4|decwriter IV, 
  12156.     am, hc, os, 
  12157.     cols#132, 
  12158.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H, 
  12159.     kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
  12160.  
  12161. # These aren't official
  12162. ln03|dec ln03 laser printer, 
  12163.     hc, 
  12164.     cols#80, lines#66, 
  12165.     bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J, 
  12166.     rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m, 
  12167.     smul=\E[4m, 
  12168. ln03-w|dec ln03 laser printer 132 cols, 
  12169.     cols#132, 
  12170.     bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
  12171.     kcud1=^J, nel=^M^J, 
  12172.     use=ln03, 
  12173.  
  12174. #### Delta Data (dd)
  12175. #
  12176.  
  12177. # Untested. The cup sequence is hairy enough that it probably needs work.
  12178. # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
  12179. # There are BSD-derived termcap entries floating around for this puppy
  12180. # that are *certainly* wrong.
  12181. delta|dd5000|delta data 5000, 
  12182.     am, 
  12183.     cols#80, lines#27, 
  12184.     bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
  12185.     cup=\017%p1%p1%{16}%m%{2}%*%-%'9'%+%c%p2%p2%{16}%m%{2}%*%-%'9'%+%c, 
  12186.     cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
  12187.  
  12188. #### Digital Data Research (ddr)
  12189. #
  12190.  
  12191. # (ddr: I added <rmam>/<smam> based on the init string -- esr)
  12192. ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
  12193.     am, xenl, 
  12194.     cols#80, it#8, lines#24, vt#3, 
  12195.     blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  12196.     clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H, 
  12197.     cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
  12198.     cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
  12199.     ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
  12200.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  12201.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
  12202.     rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l, 
  12203.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>, 
  12204.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  12205.     sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, 
  12206.     smul=\E[4m$<2/>, 
  12207.  
  12208. #### Evans & Sutherland
  12209. #
  12210.  
  12211. # Jon Leech <leech@cs.unc.edu> tells us:
  12212. # The ps300 was the Evans & Sutherland Picture System 300, a high
  12213. # performance 3D vector graphics system with a bunch of specialized hardware.
  12214. # Approximate date of release was 1982 (early 80s, anyway), and it had several
  12215. # evolutions including (limited) color versions such as the PS330C. PS300s
  12216. # were effectively obsolete by the late 80s, replaced by raster graphics
  12217. # systems, although specialized applications like molecular modelling
  12218. # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
  12219. # are out of production, though of course E&S is very much alive (in 1996).
  12220. # (ps300: changed ":pt@:" to "it@" -- esr)
  12221. #
  12222. ps300|Picture System 300, 
  12223.     xt, 
  12224.     it@, 
  12225.     rmso@, rmul@, smso@, smul@, use=vt100, 
  12226.  
  12227. #### General Electric (ge)
  12228. #
  12229.  
  12230. terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
  12231.     hc, os, 
  12232.     cols#120, 
  12233.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  12234.  
  12235. #### Heathkit/Zenith
  12236. #
  12237.  
  12238. # Here is a description of the H19 DIP switches:
  12239. #
  12240. # S401
  12241. # 0-3 = baud rate as follows:
  12242. #         3       2       1       0
  12243. #    ---    ---    ---    --- 
  12244. #         0       0       1       1       300 baud
  12245. #         0       1       0       1       1200 baud
  12246. #         1       0       0       0       2400 baud
  12247. #         1       0       1       0       4800 baud
  12248. #         1       1       0       0       9600 baud
  12249. #         1       1       0       1       19.2K baud
  12250. # 4 = parity (0 = no parity)
  12251. # 5 = even parity (0 = odd parity)
  12252. # 6 = stick parity (0 = normal parity)
  12253. # 7 = full duplex (0 = half duplex)
  12254. # S402 
  12255. # 0 = block cursor (0 = underscore cursor)
  12256. # 1 = no key click (0 = keyclick)
  12257. # 2 = wrap at end of line (0 = no wrap)
  12258. # 3 = auto LF on CR (0 = no LF on CR)
  12259. # 4 = auto CR on LF (0 = no CR on LF)
  12260. # 5 = ANSI mode (0 = VT52 mode)
  12261. # 6 = keypad shifted (0 = keypad unshifted)
  12262. # 7 = 50Hz refresh (1 = 60Hz refresh)
  12263. # Factory Default settings are as follows:
  12264. #          7 6 5 4 3 2 1 0
  12265. # S401     1 0 0 0 1 1 0 0
  12266. # S402     0 0 0 0 0 0 0 0
  12267. # (h19: I added <rmam>/<smam> based on the init string;
  12268. # also added empty <acsc> to suppress a tic warning -- esr)
  12269. h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
  12270.     am, mir, msgr, 
  12271.     cols#80, it#8, lines#24, 
  12272.     acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
  12273.     cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
  12274.     cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>, 
  12275.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J, 
  12276.     is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
  12277.     kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
  12278.     kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, 
  12279.     kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white, 
  12280.     ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
  12281.     smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
  12282. h19-bs|heathkit w/keypad shifted, 
  12283.     rmkx=\Eu, smkx=\Et, use=h19-b, 
  12284. h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor, 
  12285.     rmkx=\Eu, smkx=\Et, 
  12286.     use=h19-u, 
  12287. # (h19: merged in <ip> from BSDI hp19-e entry>;
  12288. # also added empty <acsc> to suppress a tic warning --esr)
  12289. # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
  12290. # Tim tells us that:
  12291. # I have an old Zenith-19 terminal at home that still gets a lot of use.
  12292. # This terminal suffers from the same famous insert-mode padding lossage
  12293. # that has been acknowledged for the Z29 terminal.  Emacs is nearly
  12294. # unusable on this box, since even a half-scroll up or down the window
  12295. # causes flaming terminal death.
  12296. #   
  12297. # On the Z19, the only way I have found around this problem is to remove
  12298. # the :al: and :dl: entries entirely.  No amount of extra padding will
  12299. # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
  12300. # makes Emacs a little slower, but it remains in the land of the living.
  12301. # Big win.
  12302. h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
  12303.     am, eslok, hs, mir, msgr, 
  12304.     cols#80, it#8, lines#24, 
  12305.     acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
  12306.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  12307.     cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, 
  12308.     ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, 
  12309.     kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
  12310.     kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, 
  12311.     lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
  12312.     smacs=\EF, smir=\E@, smso=\Ep, 
  12313.     tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
  12314. h19-u|heathkit with underscore cursor, 
  12315.     cnorm@, cvvis@, use=h19-b, 
  12316. h19-g|h19g|heathkit w/block cursor, 
  12317.     cnorm=\Ex4, use=h19-b, 
  12318. alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
  12319.     lines#60, 
  12320.     dl1=\EM, il1=\EL, use=h19, 
  12321.  
  12322. # The major problem with the Z29 is that it requires more padding than the Z19.
  12323. #
  12324. # The problem with declaring an H19 to be synonymous with a Z29 is that
  12325. # it needs more padding. It especially loses if a program attempts
  12326. # to put the Z29 into insert mode and insert text at 9600 baud. It
  12327. # even loses worse if the program attempts to insert tabs at 9600
  12328. # baud. Adding padding to text that is inserted loses because in 
  12329. # order to make the Z29 not die, one must add so much padding that
  12330. # whenever the program tries to use insert mode, the effective 
  12331. # rate is about 110 baud.
  12332. # What program would want to put the terminal into insert mode 
  12333. # and shove stuff at it at 9600 baud you ask?  
  12334. # Emacs. Emacs seems to want to do the mathematically optimal 
  12335. # thing in doing a redisplay rather than the practical thing.
  12336. # When it is about to output a line on top of a line that is 
  12337. # already on the screen, instead of just killing to the end of 
  12338. # the line and outputting the new line, it compares the old line 
  12339. # and the new line and if there are any similarities, it 
  12340. # constructs the new line by deleting the text on the old line 
  12341. # on the terminal that is already there and then inserting new
  12342. # text into the line to transform it into the new line that is 
  12343. # to be displayed. The Z29 does not react kindly to this.
  12344. # But don't cry for too long.... There is a solution. You can make
  12345. # a termcap entry for the Z29 that says the Z29 has no insert mode.
  12346. # Then Emacs cannot use it. "Oh, no, but now inserting into a 
  12347. # line will be really slow", you say. Well there is a sort of a
  12348. # solution to that too. There is an insert character option on 
  12349. # the Z29 that will insert one character. Unfortunately, it 
  12350. # involves putting the terminal into ansi mode, inserting the 
  12351. # character, and changing it back to H19 mode. All this takes 12 
  12352. # characters. Pretty expensive to insert one character, but it 
  12353. # works. Either Emacs doesn't try to use its inserting hack when 
  12354. # it's only given an insert character ability or the Z29 doesn't 
  12355. # require padding with this (the former is probably more likely, 
  12356. # but I haven't checked it out).
  12357. # (z29: added empty <acsc> to suppress a tic warning, merged in
  12358. # status line capabilities from BRL entry --esr)
  12359. z29|zenith29|z29b|zenith z29b, 
  12360.     am, eslok, hs, mir, msgr, 
  12361.     cols#80, lines#24, 
  12362.     acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, cr=^M, 
  12363.     cub1=^H, cud1=\EB, cuf1=\EC, 
  12364.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
  12365.     cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, 
  12366.     ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I, 
  12367.     ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>, 
  12368.     is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  12369.     kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
  12370.     kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
  12371.     lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, 
  12372.     rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8, 
  12373.     tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
  12374. # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
  12375. # the world is stable. <rs1> causes the terminal to be reset to the state
  12376. # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
  12377. # cursor, bc -> block cursor.
  12378. # From: Mike Meyers
  12379. # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
  12380. # looks vt100-compatible -- esr)
  12381. z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
  12382.     am, eslok, hs, mir, msgr, 
  12383.     cols#80, it#8, lines#24, 
  12384.     bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, cr=^M, 
  12385.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  12386.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  12387.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  12388.     dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
  12389.     dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H, 
  12390.     ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL, 
  12391.     ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
  12392.     kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS, 
  12393.     kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
  12394.     kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7, 
  12395.     nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h, 
  12396.     rmso=\E[m, rmul=\E[m, 
  12397.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m, 
  12398.     sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m, 
  12399.     tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
  12400. z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
  12401.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, 
  12402.     use=z29a, 
  12403. z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
  12404.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m, 
  12405.     use=z29a, 
  12406. z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
  12407.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m, 
  12408.     use=z29a, 
  12409. # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
  12410. z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
  12411.     am, eslok, hs, mc5i, mir, msgr, xon, 
  12412.     cols#80, lines#24, 
  12413.     acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
  12414.     blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
  12415.     clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
  12416.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  12417.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  12418.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  12419.     dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
  12420.     dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K, 
  12421.     fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L, 
  12422.     ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
  12423.     ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
  12424.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS, 
  12425.     kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
  12426.     kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
  12427.     mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
  12428.     rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
  12429.     rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0, 
  12430.     smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  12431.     tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
  12432.  
  12433. # From: Brad Brahms <Brahms@USC-ECLC>
  12434. z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
  12435.     cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, 
  12436.     use=z100bw, 
  12437. # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
  12438. z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
  12439.     mir, msgr, 
  12440.     cols#80, it#8, lines#24, 
  12441.     acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
  12442.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
  12443.     cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, 
  12444.     ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, 
  12445.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, 
  12446.     kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
  12447.     kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
  12448.     smacs=\EF, smir=\E@, smso=\Ep, 
  12449. p19|h19-b with il1/dl1, 
  12450.     dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b, 
  12451. # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
  12452. # (ztx: removed duplicate :sr: -- esr)
  12453. ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
  12454.     am, eslok, hs, 
  12455.     cols#80, it#8, lines#24, 
  12456.     clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
  12457.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  12458.     dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, 
  12459.     il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, 
  12460.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES, 
  12461.     kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER, 
  12462.     ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2, 
  12463.     tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
  12464.  
  12465. #### IMS International (ims)
  12466. #
  12467. # There was a company called IMS International located in Carson City, 
  12468. # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
  12469. # bus/Z80 hardware and a line of terminals called Ultimas.  
  12470. #
  12471.  
  12472. # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
  12473. ims950-b|bare ims950 no init string, 
  12474.     is2@, use=ims950, 
  12475. # (ims950: removed obsolete ":ko@:" -- esr)
  12476. ims950|ims televideo 950 emulation, 
  12477.     xenl@, 
  12478.     flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
  12479.     kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
  12480.     use=tvi950, 
  12481. # (ims950-rv: removed obsolete ":ko@:" -- esr)
  12482. ims950-rv|ims tvi950 rev video, 
  12483.     xenl@, 
  12484.     flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
  12485.     kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, 
  12486.     use=tvi950-rv, 
  12487. ims-ansi|ultima2|ultimaII|IMS Ultima II, 
  12488.     am, 
  12489.     cols#80, it#8, lines#24, 
  12490.     clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
  12491.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K, 
  12492.     ht=^I, if=/usr/share/tabset/vt100, 
  12493.     is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
  12494.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM, 
  12495.     rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m, 
  12496.     smul=\E[4m, 
  12497.  
  12498. #### Intertec Data Systems
  12499. #
  12500. # I think this company is long dead as of 1995.  They made an early CP/M
  12501. # micro called the "Intertec Superbrain" that was moderately popular,
  12502. # then sank out of sight.
  12503. #
  12504.  
  12505. superbrain|intertec superbrain, 
  12506.     am, bw, 
  12507.     cols#80, lines#24, 
  12508.     bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  12509.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K, 
  12510.     ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U, 
  12511.     kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L, 
  12512. # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
  12513. # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
  12514. # and the reverse is actually true.  Try it. -- esr)
  12515. intertube|intertec|Intertec InterTube, 
  12516.     am, 
  12517.     cols#80, lines#25, 
  12518.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  12519.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A, 
  12520.     ind=^J, rmso=\E0@, smso=\E0P, 
  12521. # The intertube 2 has the "full duplex" problem like the tek 4025: if you
  12522. # are typing and a command comes in, the keystrokes you type get interspersed
  12523. # with the command and it messes up
  12524. intertube2|intertec data systems intertube 2, 
  12525.     cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
  12526.     el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
  12527.     ll=^K^X\r, vpa=\013%p1%c, 
  12528.     use=intertube, 
  12529.  
  12530. #### Ithaca Intersystems
  12531. #
  12532. # This company made S100-bus personal computers long ago in the pre-IBM-PC
  12533. # past.  They used to be reachable at:
  12534. #
  12535. #    Ithaca Intersystems
  12536. #    1650 Hanshaw Road
  12537. #    Ithaca, New York 14850
  12538. #
  12539. # However, the outfit went bankrupt years ago.
  12540. #
  12541.  
  12542. # The Graphos III was a color graphics terminal from Ithaca Intersystems.
  12543. # These entries were written (originally in termcap syntax) by Brian Yandell 
  12544. # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
  12545. # University of Wisconsin.
  12546.  
  12547. # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
  12548. # removed <if=/usr/share/tabset/init.graphos> and 
  12549. # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
  12550. graphos|graphos III, 
  12551.     am, mir, 
  12552.     cols#80, it#8, lines#24, 
  12553.     clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
  12554.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  12555.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  12556.     cuu=\E[%p1%dA, cuu1=\E[A, 
  12557.     cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, 
  12558.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
  12559.     il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  12560.     kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  12561.     kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
  12562.     rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h, 
  12563.     smir=\E[4h, smso=\E[7m, 
  12564. graphos-30|graphos III with 30 lines, 
  12565.     lines#30, 
  12566.     cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos, 
  12567.  
  12568. #### Modgraph
  12569. #
  12570. # These people used to be reachable at:
  12571. #
  12572. #    Modgraph, Inc
  12573. #    1393 Main Street,
  12574. #    Waltham, MA 02154
  12575. #    Vox: (617)-890-5796.
  12576. #
  12577. # However, if you call that number today you'll get an insurance company.
  12578. # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
  12579. # 26 Feb 1997 that says:
  12580. #
  12581. # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
  12582. # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
  12583. # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
  12584. # panel-mount etc).  I can be emailed at sonfour@aol.com
  12585. #
  12586. # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
  12587. # dated 1984.  According to the manual, it featured Tek 4010/4014
  12588. # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
  12589. #
  12590.  
  12591. modgraph|mod24|modgraph terminal emulating vt100, 
  12592.     xenl@, 
  12593.     cols#80, lines#24, 
  12594.     cvvis=\E\^9;0s\E\^7;1s, 
  12595.     is2=\E\^9;0s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s, 
  12596.     rf@, ri=\EM\E[K$<5/>, 
  12597.     use=vt100, 
  12598. # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
  12599. modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
  12600.     am, da, db, 
  12601.     cols#80, it#8, lines#24, 
  12602.     clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
  12603.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>, 
  12604.     ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
  12605.     is2=\E<\E\^5;2s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s\E\^12;0s\E\^14;2s\E\^15;9s\E\^25;1s\E\^9;1s\E\^27;1, 
  12606.     ri=\EI$<5/>, 
  12607. #
  12608. # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
  12609. # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
  12610. # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
  12611. # mark and using delete-to-killbuffer work correctly.  However, we would
  12612. # like normal mode of operation to be using a Modgraph with 48 line setting.
  12613. # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
  12614. # the setting mark and delete-to-killbuffer results in the deletion of only
  12615. # the line the mark is set on.
  12616. # We've discovered that the delete-to-killbuffer works correctly
  12617. # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
  12618. # the first line disappears but a ctrl-l shows that it did work
  12619. # correctly.
  12620. modgraph48|mod|Modgraph w/48 lines, 
  12621.     am, xenl, 
  12622.     cols#80, it#8, lines#48, vt#3, 
  12623.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, cr=^M, 
  12624.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  12625.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  12626.     flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q, 
  12627.     home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h, 
  12628.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  12629.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
  12630.     ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  12631.     rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, 
  12632.     smso=\E[7m, smul=\E[4m, 
  12633.  
  12634. #### Morrow Designs
  12635. # This was George Morrow's company.  They started in the late 1970s making
  12636. # S100-bus machines.  They used to be reachable at:
  12637. #
  12638. #        Morrow
  12639. #        600 McCormick St.
  12640. #        San Leandro, CA 94577
  12641. #
  12642. # but they're long gone now (1995).
  12643. #
  12644.  
  12645. # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
  12646. # Jeff's specimen was dated June 1984.
  12647. # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
  12648. mt70|mt-70|Morrow MD-70; native Morrow mode, 
  12649.     am, mir, msgr, xon, 
  12650.     cols#80, it#8, lines#24, 
  12651.     acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G, 
  12652.     cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
  12653.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
  12654.     cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
  12655.     flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
  12656.     ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r, 
  12657.     kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r, 
  12658.     kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r, 
  12659.     kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, 
  12660.     kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
  12661.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  12662.     kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_, 
  12663.     rmacs=\E%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], smul=\EG1, 
  12664.     tbc=\E0, 
  12665.     use=adm+sgr, 
  12666.  
  12667. #### Motorola
  12668. #
  12669.  
  12670. # Motorola EXORterm 155    from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
  12671. # (Seth H Zirin)
  12672. ex155|Motorola Exorterm 155, 
  12673.     am, bw, 
  12674.     cols#80, lines#24, 
  12675.     cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED, 
  12676.     cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU, 
  12677.     home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H, 
  12678.     kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@, 
  12679.     rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED, 
  12680.  
  12681. #### Omron
  12682. #
  12683. # This company is still around in 1995, manufacturing point-of-sale systems.
  12684.  
  12685. omron|Omron 8025AG, 
  12686.     am, da, db, 
  12687.     cols#80, lines#24, 
  12688.     bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, 
  12689.     cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH, 
  12690.     il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef, 
  12691.  
  12692. #### Ramtek
  12693. #
  12694. # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
  12695. # were competition for things like the Tektronics 4025.
  12696. #
  12697.  
  12698. # Ramtek 6221 from BRL, probably by Doug Gwyn
  12699. # The following SET-UP modes are assumed for normal operation:
  12700. #    UNDERLINE_CURSOR    ANSI_MODE    AUTO_XON/XOFF_ON
  12701. #    NEWLINE_OFF        80_COLUMNS
  12702. # Other SET-UP modes may be set for operator convenience or communication
  12703. # requirements; I recommend
  12704. #    SMOOTH_SCROLL    AUTO_REPEAT_ON    3_#_SHIFTED    WRAP_AROUND_ON
  12705. # Hardware tabs are assumed to be every 8 columns; they can be set up by the
  12706. # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
  12707. # Note that the Control-E key is useless on this brain-damaged terminal.  No
  12708. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  12709. rt6221|Ramtek 6221 80x24, 
  12710.     msgr, xon, 
  12711.     cols#80, it#8, lines#24, vt#3, 
  12712.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
  12713.     clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M, 
  12714.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  12715.     cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
  12716.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
  12717.     cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I, 
  12718.     hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  12719.     kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
  12720.     kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H, 
  12721.     nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>, 
  12722.     rmso=\E[m, rmul=\E[m, 
  12723.     rs1=\E[1w\E[>37m\E[>39m\E[1v\E[20l\E[?3l\E[?6l\E[>5h\E[>6h\E[>7h\E[>8l\E[>9h\E[>10l\E[1;24r\E[m\E[q\E(B\017\E)0\E#5\E>, 
  12724.     sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
  12725.     smul=\E[4m, tbc=\E[3g, 
  12726. # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
  12727. rt6221-w|Ramtek 6221 160x48, 
  12728.     cols#160, lines#48, 
  12729.     ll=\E[48;1H, use=rt6221, 
  12730.  
  12731. #### RCA
  12732. #
  12733.  
  12734. # RCA VP3301 or VP3501
  12735. rca|rca vp3301/vp3501, 
  12736.     cols#40, lines#24, 
  12737.     clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  12738.     cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1, 
  12739.  
  12740.  
  12741. #### Selanar
  12742. #
  12743.  
  12744. # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
  12745. # The following SET-UP modes are assumed for normal operation:
  12746. #    SET_DEFAULT_TABS    48_LINES        80_COLUMNS
  12747. #    ONLINE            ANSI            CURSOR_VISIBLE
  12748. #    VT102_AUTO_WRAP_ON    VT102_NEWLINE_OFF    VT102_MONITOR_MODE_OFF
  12749. #    LOCAL_ECHO_OFF        US_CHAR_SET        WPS_TERMINAL_DISABLED
  12750. #    CPU_AUTO_XON/XOFF_ENABLED            PRINT_FULL_SCREEN
  12751. # For use with graphics software, all graphics modes should be set to factory
  12752. # default.  Other SET-UP modes may be set for operator convenience or
  12753. # communication requirements.  No delays are specified; use "stty ixon -ixany"
  12754. # to enable DC3/DC1 flow control!
  12755. # I commented out the scrolling capabilities since they are too slow.
  12756. hirez100|Selanar HiREZ-100, 
  12757.     mir, msgr, xon, 
  12758.     cols#80, it#8, lines#48, vt#3, 
  12759.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  12760.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  12761.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  12762.     cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
  12763.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  12764.     hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H, 
  12765.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, 
  12766.     kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, 
  12767.     lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i, 
  12768.     mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O, 
  12769.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  12770.     rs1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>, 
  12771.     sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, 
  12772.     smul=\E[4m, tbc=\E[3g, 
  12773. hirez100-w|Selanar HiREZ-100 in 132-column mode, 
  12774.     cols#132, use=hirez100, 
  12775.  
  12776. #### Signetics
  12777. #
  12778.  
  12779. # From University of Wisconsin
  12780. vsc|Signetics Vsc Video driver by RMC, 
  12781.     am, msgr, 
  12782.     cols#80, it#8, lines#26, 
  12783.     clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  12784.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  12785.     ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s, 
  12786.     rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_", 
  12787.  
  12788. #### Soroc
  12789. #
  12790. # Alan Frisbie <frisbie@flying-disk.com> writes:
  12791. #
  12792. # As you may recall, the Soroc logo consisted of their name,
  12793. # with the letter "S" superimposed over an odd design.   This
  12794. # consisted of a circle with a slightly smaller 15 degree (approx.)
  12795. # wedge with rounded corners inside it.   The color was sort of
  12796. # a metallic gold/yellow.
  12797. # If I had been more of a beer drinker it might have been obvious
  12798. # to me, but it took a clue from their service department to make
  12799. # me exclaim, "Of course!"   The circular object was the top of
  12800. # a beer can (the old removable pop-top style) and "Soroc" was an
  12801. # anagram for "Coors".
  12802. # I can just imagine the founders of the company sitting around
  12803. # one evening, tossing back a few and trying to decide what to
  12804. # call their new company and what to use for a logo.
  12805.  
  12806. # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
  12807. soroc120|iq120|soroc|soroc iq120, 
  12808.     clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J, 
  12809.     kcuf1=^L, kcuu1=^K, 
  12810.     use=adm3a, 
  12811. soroc140|iq140|soroc iq140, 
  12812.     am, mir, 
  12813.     cols#80, lines#24, 
  12814.     bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  12815.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew, 
  12816.     dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J, 
  12817.     kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
  12818.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  12819.     kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8, 
  12820.     rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A, 
  12821.  
  12822. #### Southwest Technical Products
  12823. #
  12824. # These guys made an early personal micro called the M6800.  
  12825. # The ct82 was probably its console terminal.
  12826. #
  12827.  
  12828. # (swtp: removed obsolete ":bc=^D:" -- esr)
  12829. swtp|ct82|southwest technical products ct82, 
  12830.     am, 
  12831.     cols#82, lines#20, 
  12832.     bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
  12833.     cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F, 
  12834.     home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
  12835.     is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
  12836.     ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
  12837.  
  12838. #### Synertek
  12839. #
  12840. # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
  12841. #
  12842. # Synertek used to make ICs, various 6502-based single-board process
  12843. # control and hobbyist computers, and assorted peripherals including a
  12844. # series of small inexpensive terminals (I think they were one of the
  12845. # first to have a "terminal-on-a-keyboard", where the terminal itself
  12846. # was only slightly larger than the keyboard).
  12847. #
  12848. # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
  12849. # was a 40x24 terminal that could connect to a standard TV through a
  12850. # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
  12851. # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
  12852. # I have a KTM-2/80 still in working order.  The KTM-2s had fully
  12853. # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
  12854. # ROM and 2 ROMs as character generators. They were incredibly simple,
  12855. # and I've never had any problems with mine (witness the fact that mine
  12856. # was made in 1981 and is still working great... I've blown the video
  12857. # output transistor a couple of times, but it's a 2N2222 :-)
  12858. #
  12859. # The KTM-3 (which is what is listed in the terminfo file) was their
  12860. # attempt at putting a KTM-2 in a box (and some models came with a
  12861. # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
  12862. # control and escape sequences are very different. The KTM-3 was always
  12863. # real broken, at least according to the folks I've talked to about it.
  12864. # The padding in the entry is probably off--these terminals were very
  12865. # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
  12866. # anyone with any sanity replaced the ROMs with something that provided
  12867. # a reasonable subset of VT100 functionality, since the usual ROMs were
  12868. # obviously very primitive... oh, you could get an upgraded ROM from
  12869. # Synertek for some incredible amount of money, but what hacker with an
  12870. # EPROM burner would do that? :)
  12871. # Sorry I don't have any contact info; I believe they were located in
  12872. # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
  12873. # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
  12874. # business these days.
  12875. #
  12876.  
  12877. # Tested, seems to work fine with vi.
  12878. synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
  12879.     am, 
  12880.     cols#80, lines#24, 
  12881.     clear=^Z, cub1=^H, cuf1=^L, 
  12882.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
  12883.  
  12884. #### Tab Office Products
  12885. #
  12886. #    TAB Products Co. - Palo Alto, California
  12887. #    Electronic Office Products,
  12888. #    1451 California Avenue 94304
  12889. #
  12890. # I think they're out of business.
  12891. #
  12892.  
  12893. # The tab 132 uses xon/xoff, so no padding needed.
  12894. # <smkx>/<rmkx> have nothing to do with arrow keys.
  12895. # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
  12896. # Seems to be no way to get rid of status line.
  12897. # The manual for this puppy was dated June 1981.  It claims to be VT52-
  12898. # compatible but looks more vt100-like.
  12899. tab132|tab|tab132-15|tab 132/15, 
  12900.     da, db, 
  12901.     cols#80, lines#24, lm#96, 
  12902.     cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M, 
  12903.     il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B, 
  12904.     kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, 
  12905.     use=vt100, 
  12906. tab132-w|tab132 in wide mode, 
  12907.     cols#132, 
  12908.     is2=\E[?7h\E[?3h\E[?5l, use=tab132, 
  12909. tab132-rv|tab132 in reverse-video mode, 
  12910.     is2=\E[?7h\E[?3l\E[?5h, use=tab132, 
  12911. tab132-w-rv|tab132 in reverse-video/wide mode, 
  12912.     is2=\E[?7h\E[?3h\E[?5h, 
  12913.     use=tab132-w, 
  12914.  
  12915.  
  12916. #### Teleray
  12917. #
  12918. #    Research Incorporated
  12919. #    6425 Flying Cloud Drive
  12920. #    Eden Prairie, MN 55344
  12921. #    Vox: (612)-941-3300
  12922. #
  12923. # The Teleray terminals were all discontinued in 1992-93.  RI still services
  12924. # and repairs these beasts, but no longer manufactures them.  The Teleray
  12925. # people believe that all the types listed below are very rare now (1995).
  12926. # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
  12927. # Model 100) that were ANSI-compatible.
  12928. #
  12929. # Note two things called "teleray".  Reorder should move the common one
  12930. # to the front if you have either.  A dumb teleray with the cursor stuck
  12931. # on the bottom and no obvious model number is probably a 3700.
  12932. #
  12933.  
  12934. t3700|dumb teleray 3700, 
  12935.     cols#80, lines#24, 
  12936.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  12937. t3800|teleray 3800 series, 
  12938.     cols#80, it#8, lines#24, 
  12939.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  12940.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
  12941.     home=\EH, ht=^I, ind=^J, ll=\EY7\s, 
  12942. t1061|teleray|teleray 1061, 
  12943.     am, km, xhp, xt, 
  12944.     cols#80, it#8, lines#24, xmc#1, 
  12945.     bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  12946.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
  12947.     dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF, 
  12948.     ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
  12949.     is2=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef, 
  12950.     kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7, 
  12951.     kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH, 
  12952.     tbc=\EG, 
  12953. t1061f|teleray 1061 with fast PROMs, 
  12954.     dl1=\EM, il1=\EL, ip@, use=t1061, 
  12955. # "Teleray Arpa Special", officially designated as
  12956. # "Teleray Arpa network model 10" with "Special feature 720".
  12957. # This is the new (1981) fast microcode updating the older "arpa" proms
  12958. # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
  12959. # converts the keypad to programmable function keys, and has other goodies.
  12960. # Standout mode is still broken (magic cookie, etc) so is suppressed as no
  12961. # programs handle such lossage properly.
  12962. # Note: this is NOT the old termcap's "t1061f with fast proms."
  12963. # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
  12964. # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
  12965. t10|teleray 10 special, 
  12966.     km, xhp, xt, 
  12967.     cols#80, it#8, lines#24, xmc#2, 
  12968.     clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
  12969.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
  12970.     dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
  12971.     ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
  12972.     smul=\ERH, 
  12973. # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
  12974. # back/forth words. Put the function keys (f1-f10) where they can be
  12975. # found, and turn off the other magic keys along the top row, except
  12976. # for line/local. Do the magic appropriate to make the page shifts work.
  12977. # Also toggle ^S/^Q for those of us who use Emacs.
  12978. t16|teleray 16, 
  12979.     am, da, db, mir, xhp, xt, 
  12980.     cols#80, lines#24, 
  12981.     bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
  12982.     cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P, 
  12983.     dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L, 
  12984.     ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
  12985.     kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
  12986.     rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
  12987.     rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
  12988.     smso=\E[7m, smul=\E[4m, 
  12989.  
  12990. #### Texas Instruments (ti)
  12991. #
  12992.  
  12993. # The Silent 700 was so called because it was built around a quiet thermal
  12994. # printer.  It was portable, equipped with an acoustic coupler, and pretty
  12995. # neat for its day.
  12996. ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
  12997.     hc, os, 
  12998.     cols#80, 
  12999.     bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
  13000.  
  13001. #
  13002. # Texas Instruments 916 VDT 7 bit control mode
  13003. #
  13004. ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL, 
  13005.     da, db, in, msgr, 
  13006.     cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>, 
  13007.     cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB, 
  13008.     cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  13009.     cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P, 
  13010.     dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, 
  13011.     el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>, 
  13012.     hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>, 
  13013.     il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H, 
  13014.     kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~, 
  13015.     kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~, 
  13016.     kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
  13017.     kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T, 
  13018.     kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, 
  13019.     smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, use=vt220, 
  13020. #
  13021. # Texas Instruments 916 VDT 8 bit control mode
  13022. #
  13023. ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL, 
  13024.     kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
  13025.     kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~, 
  13026.     kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~, 
  13027.     kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
  13028.     kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H, 
  13029.     kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, 
  13030.     use=ti916, 
  13031. #
  13032. # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
  13033. #
  13034. ti916-132|Texas Instruments 916 VDT vt220 132 column, 
  13035.     cols#132, use=ti916, 
  13036. #
  13037. # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
  13038. #
  13039. ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column, 
  13040.     cols#132, use=ti916-8, 
  13041. ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
  13042.     am, xon, 
  13043.     cols#80, it#8, lines#24, 
  13044.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  13045.     clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
  13046.     csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  13047.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
  13048.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
  13049.     il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  13050.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
  13051.     kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~, 
  13052.     kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m, 
  13053.     ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
  13054.     smul=\E[4m, tbc=\E[3g, 
  13055. ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
  13056.     am, xon, 
  13057.     cols#80, it#8, lines#24, 
  13058.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  13059.     clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
  13060.     csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  13061.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
  13062.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
  13063.     il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  13064.     kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
  13065.     kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>, 
  13066.     kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>, 
  13067.     kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, 
  13068.     rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
  13069.     smul=\E[4m, tbc=\E[3g, 
  13070. ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
  13071.     cols#132, use=ti924, 
  13072. ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
  13073.     cols#132, use=ti924-8, 
  13074. ti931|Texas Instruments 931 VDT, 
  13075.     am, xon, 
  13076.     cols#80, lines#24, 
  13077.     bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED, 
  13078.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  13079.     cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
  13080.     ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
  13081.     is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  13082.     kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, 
  13083.     kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, 
  13084.     kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
  13085.     sgr0=\E4@, smso=\E4A, smul=\E4D, 
  13086. ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
  13087.     csr@, ind=\E[1S, ri=\E[1T, 
  13088.     use=ti924, 
  13089. # (ti926-8: I corrected this from the broken SCO entry -- esr)
  13090. ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
  13091.     csr@, ind=\2331S, ri=\2331T, 
  13092.     use=ti924-8, 
  13093. ti_ansi|basic entry for ti928, 
  13094.     am, bce, eo, xenl, xon, 
  13095.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  13096.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, 
  13097.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
  13098.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  13099.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
  13100.     il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  13101.     kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M, 
  13102.     kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, 
  13103.     kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
  13104.     op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m, 
  13105.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
  13106.     smso=\E[7m, smul=\E[4m, 
  13107. #
  13108. #       928 VDT 7 bit control mode
  13109. #
  13110. ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
  13111.     kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
  13112.     kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
  13113.     kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
  13114.     kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
  13115.     kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, 
  13116.     use=ti_ansi, 
  13117. #
  13118. #       928 VDT 8 bit control mode
  13119. #
  13120. ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
  13121.     kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~, 
  13122.     kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~, 
  13123.     kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~, 
  13124.     kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~, 
  13125.     kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S, 
  13126.     kpp=\233T, kprt=\23335~, 
  13127.     use=ti_ansi, 
  13128.  
  13129. #### Zentec (zen)
  13130. #
  13131.  
  13132. # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
  13133. # had just <smso>=\EG6 which I think means standout was supposed to be 
  13134. # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
  13135. # <invis> might work-- esr)
  13136. zen30|z30|zentec 30, 
  13137.     am, mir, ul, 
  13138.     cols#80, lines#24, 
  13139.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  13140.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  13141.     dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^, 
  13142.     il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6, 
  13143.     smul@, 
  13144.     use=adm+sgr, 
  13145. # (zen50: this had extension capabilities
  13146. #    :BS=^U:CL=^V:CR=^B:
  13147. # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
  13148. # which were also in the original entry -- esr)
  13149. # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
  13150. zen50|z50|zentec zephyr, 
  13151.     am, 
  13152.     cols#80, lines#24, xmc#1, 
  13153.     clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  13154.     cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
  13155.     invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  13156.     rmul@, smul@, 
  13157.     use=adm+sgr, 
  13158.  
  13159. # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
  13160. cci|cci1|z8001|zen8001|CCI Custom Zentec 8001, 
  13161.     am, bw, 
  13162.     cols#80, lines#24, 
  13163.     blink=\EM", clear=\EH\EJ, cnorm=\EP, 
  13164.     csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J, 
  13165.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  13166.     cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH, 
  13167.     invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED, 
  13168.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R, 
  13169.     rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s, 
  13170.     smso=\EM$, smul=\EM0, 
  13171.  
  13172. ######## OBSOLETE UNIX CONSOLES
  13173. #
  13174.  
  13175. #### Apollo consoles
  13176. #
  13177. # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
  13178. # labeled HP700s now.
  13179. #
  13180.  
  13181. # From: Gary Darland <goodmanc@garnet.berkeley.edu>
  13182. apollo|apollo console, 
  13183.     am, mir, 
  13184.     cols#88, lines#53, 
  13185.     clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
  13186.     cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL, 
  13187.     ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED, 
  13188.     rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ, 
  13189.     smso=\ES, smul=\EU, vpa=\EO+\s, 
  13190.  
  13191. # We don't know whether or not the apollo guys replicated DEC's firmware bug
  13192. # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
  13193. # both these capabilities.
  13194. apollo_15P|apollo 15 inch display, 
  13195.     rmir@, smir@, use=vt132, 
  13196. apollo_19L|apollo 19 inch display, 
  13197.     rmir@, smir@, use=vt132, 
  13198. apollo_color|apollo color display, 
  13199.     rmir@, smir@, use=vt132, 
  13200.  
  13201. #### Convergent Technology
  13202. #
  13203. # Burroughs bought Convergent shortly before it merged with Univac.
  13204. # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
  13205. # from 1991 or earlier).
  13206. #
  13207.  
  13208. # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
  13209. # (aws: removed unknown :dn=^K: -- esr)
  13210. aws|Convergent Technologies AWS workstation under UTX and Xenix, 
  13211.     am, 
  13212.     cols#80, lines#28, xmc#0, 
  13213.     acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
  13214.     cuu1=^A, dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c, 
  13215.     ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K, 
  13216.     kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF, 
  13217.     rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN, 
  13218.     vpa=\EV%p1%c, 
  13219. awsc|Convergent Technologies AWS workstation under CTOS, 
  13220.     am, 
  13221.     cols#80, lines#24, xmc#0, 
  13222.     acsc=, clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, 
  13223.     cuu1=^A, ed=\EEF, el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, 
  13224.     kcuf1=^R, kcuu1=^A, rmacs=\EAAF, rmso=\EAA, rmul=\EAA, 
  13225.     smacs=\EAAN, smso=\EAE, smul=\EAC, 
  13226.  
  13227. #### DEC consoles
  13228. #
  13229.  
  13230. # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
  13231. # The digital uVax II's had a graphic display called a qdss.  It was
  13232. # supposed to be a high performance graphic accelerator, but it was
  13233. # late to market and barely appeared before faster dumb frame buffers
  13234. # appeared.  I have only used this display while running X11.  However,
  13235. # during bootup, it was in text mode, and probably had a terminal emulator
  13236. # within it.  And that is what your termcap entry is for.  In graphics
  13237. # mode the screen size is 1024x864 pixels.
  13238. qdss|qdcons|qdss glass tty, 
  13239.     am, 
  13240.     cols#128, lines#57, 
  13241.     clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
  13242.     cup=\E=%p1%c%p2%c, cuu1=^K, 
  13243.  
  13244. #### Fortune Systems consoles
  13245. #
  13246. # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
  13247. # in their day; I (esr) used one myself for a year or so around 1984.
  13248. # They had no graphics, though, and couldn't compete against Suns and
  13249. # the like.  R.I.P.
  13250. #
  13251.  
  13252. # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
  13253. # (This had extension capabilities
  13254. #    :rv=\EH:re=\EI:rg=0:GG=0:\
  13255. #    :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
  13256. #    :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
  13257. #    :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
  13258. # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
  13259. # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
  13260. # to force both magic cookie glitches off.  Once upon a time, I
  13261. # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
  13262. # function keys; thus the "Al" value for HM was certainly an error.  I renamed
  13263. # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
  13264. # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
  13265. # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
  13266. # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
  13267. fos|fortune|Fortune system, 
  13268.     am, bw, 
  13269.     cols#80, lines#25, 
  13270.     acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E], 
  13271.     clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
  13272.     cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
  13273.     cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
  13274.     ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
  13275.     ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H, 
  13276.     kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r, 
  13277.     kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r, 
  13278.     kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, 
  13279.     khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, 
  13280.     rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
  13281.     smso=^\H`, smul=^\HP, 
  13282.  
  13283. #### Masscomp consoles
  13284. #
  13285. # Masscomp has gone out of business.  Their product line was purchased by
  13286. # comany in Georgia (US) called "XS International", parts and service may
  13287. # still be available through them.
  13288. #
  13289.  
  13290. # (masscomp: ":MT:" changed to ":km:";  -- esr)
  13291. masscomp|masscomp workstation console, 
  13292.     km, mir, 
  13293.     cols#80, it#8, lines#24, 
  13294.     clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  13295.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  13296.     ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H, 
  13297.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, 
  13298.     rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
  13299. masscomp1|masscomp large screen version 1, 
  13300.     cols#104, lines#36, use=masscomp, 
  13301. masscomp2|masscomp large screen version 2, 
  13302.     cols#64, lines#21, use=masscomp, 
  13303.  
  13304. ######## OTHER OBSOLETE TYPES
  13305. #
  13306. # These terminals are *long* dead -- these entries are retained for
  13307. # historical interest only.
  13308. #
  13309.  
  13310. #### Obsolete non-ANSI software emulations
  13311. #
  13312.  
  13313. # CTRM terminal emulator
  13314. # 1. underlining is not allowed with colors: first, is is simulated by 
  13315. # black on white, second, it disables background color manipulations.
  13316. # 2. BLINKING, REVERSE and BOLD are allowed with colors,
  13317. # so we have to save their status in the static registers A, B and H
  13318. # respectively, to be able to restore them when color changes
  13319. # (because any color change turns off ALL attributes)
  13320. # 3. <bold> and <rev> sequences alternate modes,
  13321. # rather then simply  entering them.  Thus we have to check the
  13322. # static register B and H to determine the status, before sending the 
  13323. # escape sequence.
  13324. # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
  13325. # and then reset colors
  13326. # 5. implementation of the protect mode would badly penalize the performance.
  13327. # we would have to use \E&bn sequence to turn off colors (as well as all
  13328. # other attributes), and keep the status of protect mode in yet another
  13329. # static variable.  If someone really needs this mode, they would have to
  13330. # create another terminfo entry.
  13331. # 6. original color-pair is white on black.
  13332. # store the information about colors into static registers
  13333. # 7. set foreground color.  it performs the following steps.
  13334. #   1) turn off all attributes
  13335. #   2) turn on the background and video attributes that have been turned
  13336. #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
  13337. #   3) turn on foreground attributes
  13338. #   4) store information about foreground into U,V,W static registers
  13339. # 8. turn on background: similar to turn on foreground above
  13340. ctrm|C terminal emulator, 
  13341.     am, bce, xon, 
  13342.     colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0, 
  13343.     pairs#63, pb#19200, vt#6, 
  13344.     bel=^G, blink=\E&dA%{1}%PA, 
  13345.     bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
  13346.     clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  13347.     cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM, 
  13348.     ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1, 
  13349.     il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, 
  13350.     kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
  13351.     kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
  13352.     kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
  13353.     op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU, 
  13354.     rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
  13355.     setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
  13356.     setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
  13357.     sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;, 
  13358.     sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
  13359.     smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  13360.  
  13361. # gs6300 - can't use blue foreground, it clashes with underline;
  13362. # it's simulated with cyan
  13363. # Bug: The <op> capability probably resets attributes.
  13364. # (gs6300: commented out <rmln> (no <smln>) --esr)
  13365. gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
  13366.     am, bce, msgr, xon, 
  13367.     colors#8, cols#80, it#8, lines#24, pairs#63, 
  13368.     acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  13369.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  13370.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  13371.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  13372.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  13373.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  13374.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  13375.     is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B, 
  13376.     kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s, 
  13377.     kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
  13378.     khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
  13379.     ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
  13380.     setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m, 
  13381.     sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
  13382.  
  13383. # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
  13384. # MS-Kermit with Heath-19 emulation mode enabled
  13385. # (h19k: changed ":pt@:" to ":it@"
  13386. h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
  13387.     am@, da, db, xt, 
  13388.     it@, 
  13389.     ht@, use=h19-u, 
  13390.  
  13391. # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
  13392. # Software (formerly Peripherals Computers & Supplies, Inc) of
  13393. # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
  13394. # also be reached at support@synergy.com.
  13395. versaterm|versaterm vt100 emulator for the macintosh, 
  13396.     am, xenl, 
  13397.     cols#80, it#8, lines#24, 
  13398.     bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  13399.     clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  13400.     cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
  13401.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
  13402.     dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>, 
  13403.     el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>, 
  13404.     il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
  13405.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
  13406.     kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, 
  13407.     rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
  13408.     rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>, 
  13409.     sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>, 
  13410.     smul=\E[4m$<2/>, 
  13411.  
  13412. # From: Rick Thomas <ihnp4!btlunix!rbt>
  13413. # (xtalk: I added <rmam>/<smam> based on the init string.
  13414. # I also removed <xmc#1> and the trailing \s characters from the highlight
  13415. # changers, I don't believe these on a VT100-emulating PC display -- esr)
  13416. xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
  13417.     am, mir, msgr, xon, 
  13418.     cols#80, it#8, lines#24, vt#3, 
  13419.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  13420.     bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  13421.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  13422.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  13423.     cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>, 
  13424.     el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
  13425.     il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
  13426.     kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  13427.     kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
  13428.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
  13429.     kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  13430.     rmkx=\E[?1l\E>, rmso=\E[m, 
  13431.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
  13432.     smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
  13433.     tbc=\E[3g, 
  13434.  
  13435. # The official PC terminal emulator program of the AT&T Product Centers.
  13436. # Note - insert mode commented out - doesn't seem to work on AT&T PC.
  13437. simterm|attpc running simterm, 
  13438.     am, 
  13439.     cols#80, lines#24, 
  13440.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  13441.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER, 
  13442.     dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE, 
  13443.     rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB, 
  13444.  
  13445. #### Daisy wheel printers
  13446. #
  13447. # This section collects Diablo, DTC, Xerox, Qume, and other daisy
  13448. # wheel terminals.  These are now largely obsolete.
  13449. #
  13450.  
  13451. # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
  13452. diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
  13453.     hc, os, 
  13454.     cols#132, it#8, 
  13455.     cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c, 
  13456.     ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2, 
  13457. diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
  13458.     cols#124, 
  13459.     is2=\r        \E9, use=diablo1620, 
  13460. # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
  13461. diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
  13462.     bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, 
  13463.     use=diablo1620, 
  13464. # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
  13465. # file -- esr)
  13466. diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
  13467.     cols#124, 
  13468.     rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620, 
  13469. diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
  13470.     use=diablo1640-lm, 
  13471. # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
  13472. # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
  13473. # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
  13474. # If no tab is set or the terminal's in a bad mood, it glitches the screen
  13475. # around all of memory.  Note that return puts a blank ("a return character")
  13476. # in the space the cursor was at, so we use ^P return (and thus ^P newline for
  13477. # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
  13478. # curses won't work (some old BSD versions) because it doesn't clear this bit,
  13479. # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
  13480. # I have been unable to get tabs set in all 96 lines - it always leaves at
  13481. # least one line with no tabs in it, and once you tab through that line,
  13482. # it completely weirds out.
  13483. # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
  13484. dtc382|DTC 382, 
  13485.     am, da, db, xhp, 
  13486.     cols#80, lines#24, lm#96, 
  13487.     bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H, 
  13488.     cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
  13489.     dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
  13490.     home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
  13491.     rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
  13492. dtc300s|DTC 300s, 
  13493.     hc, os, 
  13494.     cols#132, 
  13495.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
  13496.     hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
  13497. gsi|mystery gsi terminal, 
  13498.     hc, os, 
  13499.     cols#132, 
  13500.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH, 
  13501.     ind=^J, 
  13502. aj830|aj832|aj|anderson jacobson, 
  13503.     hc, os, 
  13504.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
  13505.     ind=^J, 
  13506. # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
  13507. aj510|Anderson-Jacobson model 510, 
  13508.     am, mir, 
  13509.     cols#80, lines#24, 
  13510.     clear=^L, cub1=^H, cuf1=\EX, 
  13511.     cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
  13512.     dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=, 
  13513.     il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ, 
  13514.     kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J, 
  13515.     rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I, 
  13516.     smul=\E"U, 
  13517. # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
  13518. # This is incomplete, but it's a start.
  13519. nec5520|nec|spinwriter|nec 5520, 
  13520.     hc, os, 
  13521.     cols#132, it#8, 
  13522.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
  13523.     hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J, 
  13524.     kbs=^H, tbc=\E3, 
  13525. qume5|qume|Qume Sprint 5, 
  13526.     hc, os, 
  13527.     cols#80, it#8, 
  13528.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
  13529.     hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
  13530. # I suspect the xerox 1720 is the same as the diablo 1620.
  13531. xerox1720|x1720|x1750|xerox 1720, 
  13532.     hc, os, 
  13533.     cols#132, it#8, 
  13534.     bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J, 
  13535.     tbc=\E2, 
  13536.  
  13537. #### Miscellaneous obsolete terminals, manufacturers unknown
  13538. #
  13539. # If you have any information about these (like, a manufacturer's name, 
  13540. # and a date on the serial-number plate) please send it!
  13541.  
  13542. cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
  13543.     am, 
  13544.     cols#73, lines#36, 
  13545.     clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
  13546. cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
  13547.     am, 
  13548.     cols#85, lines#39, 
  13549.     clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3, 
  13550.     kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7, 
  13551.     kf4=\E8, rmso=\Em^C, smso=\Em^L, 
  13552. cops10|cops|cops-10|cops 10, 
  13553.     am, bw, 
  13554.     cols#80, lines#24, 
  13555.     bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  13556.     cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V, 
  13557.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  13558.     khome=^Y, 
  13559. # (d132: removed duplicate :ic=\E5:,
  13560. # merged in capabilities from a BRL entry -- esr)
  13561. d132|datagraphix|datagraphix 132a, 
  13562.     da, db, in, 
  13563.     cols#80, lines#30, 
  13564.     bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, 
  13565.     cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, 
  13566.     dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, 
  13567.     kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew, 
  13568. # The d800 was an early portable terminal from c.1984-85 that looked a lot
  13569. # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
  13570. # mode (which is what this entry looks like) and several other lesser-known
  13571. # emulations.
  13572. d800|Direct 800/A, 
  13573.     am, da, db, msgr, xhp, 
  13574.     cols#80, it#8, lines#24, 
  13575.     acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
  13576.     bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H, 
  13577.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  13578.     cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D, 
  13579.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
  13580.     kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
  13581.     ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  13582.     smacs=\E[1m, smso=\E[7m, smul=\E[4m, 
  13583. digilog|digilog 333, 
  13584.     cols#80, lines#16, 
  13585.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X, 
  13586.     home=^N, ind=^J, 
  13587. # The DWK was a terminal manufactured in the Soviet Union c.1986
  13588. dwk|dwk-vt|dwk terminal, 
  13589.     am, 
  13590.     cols#80, it#8, lines#24, 
  13591.     acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_, 
  13592.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  13593.     cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, dch1=\EP, 
  13594.     ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
  13595.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
  13596.     kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
  13597.     kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh, 
  13598.     kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX, 
  13599.     sgr0=\EX, smacs=\EF, smso=\ET, 
  13600. env230|envision230|envision 230 graphics terminal, 
  13601.     xenl@, 
  13602.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  13603.     sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, use=vt100, 
  13604. # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
  13605. # coupler attached, the whole rig fitting in a suitcase and more or less
  13606. # portable.  Hot stuff for c.1977 :-) -- esr
  13607. ep48|ep4080|execuport 4080, 
  13608.     am, os, 
  13609.     cols#80, 
  13610.     bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J, 
  13611. ep40|ep4000|execuport 4000, 
  13612.     cols#136, use=ep4080, 
  13613. # Adam Thompson <thompson@xanth.magic.mb.ca> tells us:
  13614. # Informer series - these are all portable units, resembling older
  13615. # automatic bread-baking machines.  The terminal looks like a `clamshell'
  13616. # design, but isn't.  The structure is similar to the Direct terminals,
  13617. # but only half the width.  The entire unit is only about 10" wide.
  13618. # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
  13619. # keyboard.  All the keys are crammed together, much like some laptop
  13620. # PCs today, but perhaps less well organized...all these units have a
  13621. # bewildering array of plugs on the back, including a built-in modem.
  13622. # The 305 was a color version of the 304; the 306 and 307 were mono and
  13623. # color terminals built for IBM bisync protocols.
  13624. # From: Paul Leondis <unllab@amber.berkeley.edu>
  13625. ifmr|Informer D304, 
  13626.     am, 
  13627.     cols#80, lines#24, 
  13628.     clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
  13629.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\, 
  13630.     ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK, 
  13631.     smso=\EJ, 
  13632. # Entry largely based on wy60 and has the features of wy60ak.
  13633. opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
  13634.     am, bw, hs, km, mir, msgr, ul, xon, 
  13635.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
  13636.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
  13637.     cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M, 
  13638.     cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, 
  13639.     dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, 
  13640.     ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
  13641.     hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J, 
  13642.     ip=$<3>, 
  13643.     is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12, 
  13644.     kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
  13645.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY, 
  13646.     kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
  13647.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
  13648.     kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  13649.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  13650.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
  13651.     mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
  13652.     pfloc=\EZ2%p1%'?'%+%c%p2%s\177, 
  13653.     pfx=\EZ1%p1%'?'%+%c%p2%s\177, 
  13654.     pln=\Ez%p1%'/'%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
  13655.     rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
  13656.     rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
  13657.     rs3=\EwG\Ee($<150>, 
  13658.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  13659.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
  13660.     smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
  13661.     smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
  13662.     uc=\EG8%p1%c\EG0, 
  13663.     use=adm+sgr, 
  13664. teletec|Teletec Datascreen, 
  13665.     am, 
  13666.     cols#80, lines#24, 
  13667.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
  13668.     home=^^, ind=^J, 
  13669. # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
  13670. #        This termcap is for the LANPAR Technologies VISION 3220
  13671. #    terminal.  The function key definitions k0-k5 represent the
  13672. #    edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
  13673. #    NEXT SCREEN. The key definitions k6-k9 represent the PF1 to
  13674. #    PF4 keys.
  13675. # (v3220: removed obsolete ":kn#10:",
  13676. # I added <rmam>/<smam> based on the init string -- esr)
  13677. v3220|LANPAR Vision II model 3220/3221/3222, 
  13678.     am, mir, xenl, 
  13679.     cols#80, it#8, lines#24, 
  13680.     clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
  13681.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  13682.     ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
  13683.     is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B, 
  13684.     kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, 
  13685.     kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, 
  13686.     kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
  13687.     rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  13688.     smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
  13689. ######## ICH/ICH1 VERSUS RMIR/SMIR
  13690. #
  13691. # Some non-curses applications get confused if both ich/ich1 and rmir/smir
  13692. # are present; the symptom is doubled characters in an update using insert.
  13693. # These applications are technically correct; in both 4.3BSD termcap and
  13694. # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
  13695. # unless the terminal needs both.  To my knowledge, no terminal still in this
  13696. # file requires both other than the very obsolete dm2500.
  13697. #
  13698. # For ncurses-based applications this is not a problem, as ncurses uses
  13699. # one or the other as appropriate but never mixes the two.  Therefore we
  13700. # have not corrected entries like `linux' and `xterm' that specify both.
  13701. # If you see doubled characters from these, use the linux-nic and xterm-nic
  13702. # entries that suppress ich/ich1.  And upgrade to ncurses!
  13703. #
  13704.  
  13705. ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
  13706. #
  13707. # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
  13708. # ECMA-48 standards are said to be almost identical, but are not the same
  13709. # as X3.64 (though for practical purposes they are close supersets of it).
  13710. #
  13711. # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
  13712. # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
  13713. # Coded Character Sets"), include your snail-mail address, and you should
  13714. # receive the document in due course.  Don't expect an email acknowledgement.
  13715. #
  13716. # Related standards include "X3.4-1977: American National Standard Code for
  13717. # Information Interchange" (the ASCII standard) and "X3.41.1974: 
  13718. # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
  13719. # American National Standard for Information Interchange."  I believe (but
  13720. # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
  13721. # respectively. 
  13722. #
  13723.  
  13724. #### VT100/ANSI/ECMA-48
  13725. #
  13726. # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
  13727. # and ECMA-48 Control Functions for Coded Character Sets.
  13728. # Much of the content of this comment is adapted from a table prepared by
  13729. # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
  13730. # discussion of some terminfo-related issues, and updates to capture ECMA-48
  13731. # have been added.  Control functions described in ECMA-48 only are tagged
  13732. # with * after their names.
  13733. #
  13734. # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
  13735. # sequences.  In the main table, \E stands for an escape (\033) character,
  13736. # SPC for space.  Pn stands for a single numeric parameter to be inserted
  13737. # in decimal ASCII.  Ps stands for a list of such parameters separated by
  13738. # semicolons.  Parameter meanings for most parametrized sequences are
  13739. # decribed in the notes.
  13740. #
  13741. # Sequence     Sequence                             Parameter   or
  13742. # Mnemonic     Name              Sequence           Value      Mode   terminfo
  13743. # -----------------------------------------------------------------------------
  13744. # APC  Applicatn Program Command \E _                -         Delim  -
  13745. # BEL  Bell *                    ^G                  -         -      bel
  13746. # BPH  Break Permitted Here *    \E B                -         *      -
  13747. # BS   Backpace *                ^H                  -         EF     -
  13748. # CAN  Cancel *                  ^X                  -         -      -   (A)
  13749. # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
  13750. # CCH  Cancel Previous Character \E T                -         -      -
  13751. # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
  13752. # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
  13753. # CMD  Coding Method Delimiter * \E
  13754. # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
  13755. # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
  13756. # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
  13757. # CSI  Control Sequence Intro    \E [                -         Intro  -
  13758. # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
  13759. # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
  13760. # CUD  Cursor Down               \E [ Pn B           1         eF     cud
  13761. # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
  13762. # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
  13763. # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
  13764. # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
  13765. # DA   Device Attributes         \E [ Pn c           0         -      -
  13766. # DAQ  Define Area Qualification \E [ Ps o           0         -      -
  13767. # DCH  Delete Character          \E [ Pn P           1         eF     dch
  13768. # DCS  Device Control String     \E P                -         Delim  -
  13769. # DL   Delete Line               \E [ Pn M           1         eF     dl
  13770. # DLE  Data Link Escape *        ^P                  -         -      -
  13771. # DMI  Disable Manual Input      \E \                -         Fs     -
  13772. # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
  13773. # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
  13774. # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
  13775. # ECH  Erase Character           \E [ Pn X           1         eF     ech
  13776. # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
  13777. # EF   Erase in Field            \E [ Ps N           0         eF     -
  13778. # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
  13779. # EM   End of Medium *           ^Y                  -         -      -
  13780. # EMI  Enable Manual Input       \E b                          Fs     -
  13781. # ENQ  Enquire                   ^E                  -         -      -
  13782. # EOT  End Of Transmission       ^D                  -         *      -
  13783. # EPA  End of Protected Area     \E W                -         -      -   (K)
  13784. # ESA  End of Selected Area      \E G                -         -      -
  13785. # ESC  Escape                    ^[                  -         -      -
  13786. # ETB  End Transmission Block    ^W                  -         -      -
  13787. # ETX  End of Text               ^C                  -         -      -
  13788. # FF   Form Feed                 ^L                  -         -      -
  13789. # FNK  Function Key *            \E [ Pn SPC W       -         -      -
  13790. # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
  13791. # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
  13792. # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
  13793. # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
  13794. # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
  13795. # HPB  Char Position Backward    \E [ j              1         FE     -
  13796. # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
  13797. # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
  13798. # HTJ  Horz Tab w/Justification  \E I                -         FE     -
  13799. # HTS  Horizontal Tab Set        \E H                -         FE     hts
  13800. # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
  13801. # ICH  Insert Character          \E [ Pn @           1         eF     ich
  13802. # IDCS ID Device Control String  \E [ SPC O          -         *      -
  13803. # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
  13804. # IL   Insert Line               \E [ Pn L           1         eF     il
  13805. # IND  Index                     \E D                -         FE     -
  13806. # INT  Interrupt                 \E a                -         Fs     -
  13807. # JFY  Justify                   \E [ Ps SPC F       0         FE     -
  13808. # IS1  Info Separator #1 *       ^_                  -         *      -
  13809. # IS2  Info Separator #1 *       ^^                  -         *      -
  13810. # IS3  Info Separator #1 *       ^]                  -         *      -
  13811. # IS4  Info Separator #1 *       ^\                  -         *      -
  13812. # LF   Line Feed                 ^J                  -         -      -
  13813. # LS1R Locking Shift Right 1 *   \E ~                -         -      -
  13814. # LS2  Locking Shift 2 *         \E n                -         -      -
  13815. # LS2R Locking Shift Right 2 *   \E }                -         -      -
  13816. # LS3  Locking Shift 3 *         \E o                -         -      -
  13817. # LS3R Locking Shift Right 3 *   \E |                -         -      -
  13818. # MC   Media Copy                \E [ Ps i           0         -      -   (S)
  13819. # MW   Message Waiting           \E U                -         -      -
  13820. # NAK  Negative Acknowledge *    ^U                  -         *      -
  13821. # NBH  No Break Here *           \E C                -         -      -
  13822. # NEL  Next Line                 \E E                -         FE     nel (D)
  13823. # NP   Next Page                 \E [ Pn U           1         eF     -
  13824. # NUL  Null *                    ^@                  -         -      -
  13825. # OSC  Operating System Command  \E ]                -         Delim  -
  13826. # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
  13827. # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
  13828. # PLD  Partial Line Down         \E K                -         FE     -   (T)
  13829. # PLU  Partial Line Up           \E L                -         FE     -   (U)
  13830. # PM   Privacy Message           \E ^                -         Delim  -
  13831. # PP   Preceding Page            \E [ Pn V           1         eF     -
  13832. # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
  13833. # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
  13834. # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
  13835. # PTX  Parallel Texts *          \E [ \              -         -      -
  13836. # PU1  Private Use 1             \E Q                -         -      -
  13837. # PU2  Private Use 2             \E R                -         -      -
  13838. # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
  13839. # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
  13840. # RI   Reverse Index             \E M                -         FE     -   (V)
  13841. # RIS  Reset to Initial State    \E c                -         Fs     -
  13842. # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
  13843. # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
  13844. # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
  13845. # SCI  Single-Char Introducer    \E Z                -         -      -
  13846. # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
  13847. # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
  13848. # SD   Scroll Down               \E [ Pn T           1         eF     rin
  13849. # SDS  Start Directed String *   \E [ Pn ]           1         -      -
  13850. # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
  13851. # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
  13852. # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
  13853. # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
  13854. # SI   Shift In                  ^O                  -         -      -   (P)
  13855. # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
  13856. # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
  13857. # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
  13858. # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
  13859. # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
  13860. # SM   Select Mode               \E [ Ps h           none      -      -   (W)
  13861. # SO   Shift Out                 ^N                  -         -      -   (Q)
  13862. # SOH  Start Of Heading *        ^A                  -         -      -
  13863. # SOS  Start of String *         \E X                -         -      -
  13864. # SPA  Start of Protected Area   \E V                -         -      -   (Z)
  13865. # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
  13866. # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
  13867. # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
  13868. # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
  13869. # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
  13870. # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
  13871. # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
  13872. # SRS  Start Reversed String *   \E [ Ps [           0         -      -
  13873. # SSA  Start of Selected Area    \E F                -         -      -
  13874. # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
  13875. # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
  13876. # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
  13877. # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
  13878. # ST   String Terminator         \E \                -         Delim  -
  13879. # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
  13880. # STS  Set Transmit State        \E S                -         -      -
  13881. # STX  Start pf Text *           ^B                  -         -      -
  13882. # SU   Scroll Up                 \E [ Pn S           1         eF     indn
  13883. # SUB  Substitute *              ^Z                  -         -      -
  13884. # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
  13885. # SYN  Synchronous Idle *        ^F                  -         -      -
  13886. # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
  13887. # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
  13888. # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
  13889. # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
  13890. # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
  13891. # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
  13892. # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
  13893. # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
  13894. # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
  13895. # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
  13896. # VT   Vertical Tabulation *     ^K                  -         FE     -
  13897. # VTS  Vertical Tabulation Set   \E J                -         FE     -
  13898. # ---------------------------------------------------------------------------
  13899. #
  13900. # Notes:
  13901. #
  13902. # Some control characters are listed in the ECMA-48 standard without 
  13903. # being assigned functions relevant to terminal control there (they 
  13904. # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
  13905. # here anyway for completeness.
  13906. #
  13907. # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
  13908. #
  13909. # (B) There seems to be some confusion abroad between CHA and HPA.  Most
  13910. # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
  13911. # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
  13912. # preserved the CHA abbreviation.
  13913. #
  13914. # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
  13915. # Occasionally (as on, for example, certain HP terminals) this has the HTJ
  13916. # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
  13917. # CHT abbreviation.
  13918. #
  13919. # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
  13920. #
  13921. # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
  13922. # abbreviation.
  13923. # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
  13924. # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
  13925. # 5 = clear all char tabs, 6 = clear all line tabs.
  13926. #
  13927. # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
  13928. # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
  13929. # Position Absolute" but retains the HVP abbreviation.
  13930. #
  13931. # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
  13932. # abbreviation.
  13933. #
  13934. # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
  13935. # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
  13936. # DSR, 6 = request CPR response.
  13937. #
  13938. # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
  13939. # 1 = clear from beginning, 2 = clear.
  13940. # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
  13941. #
  13942. # (L) The GSM parameters are vertical and horizontal parameters to scale by.
  13943. #
  13944. # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
  13945. # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
  13946. # Position Relative" but retains the HPR abbreviation.
  13947. #
  13948. # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
  13949. # abbreviation.
  13950. #
  13951. # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
  13952. # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
  13953. # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
  13954. # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
  13955. # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
  13956. # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
  13957. # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
  13958. # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
  13959. # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
  13960. # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
  13961. # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
  13962. # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
  13963. # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
  13964. # 61-65 = variable highlights for ideograms.
  13965. #
  13966. # (P) SI is also called LSO, Locking Shift Zero.
  13967. #
  13968. # (Q) SI is also called LS1, Locking Shift One.
  13969. #
  13970. # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
  13971. # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
  13972. # Absolute' but retains the VPA abbreviation.
  13973. #
  13974. # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
  13975. # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
  13976. # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
  13977. # start relay to primary aux device, 6 = stop relay to secondary aux device,
  13978. # 7 = start relay to secondary aux device.
  13979. #
  13980. # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
  13981. # abbreviation.
  13982. #
  13983. # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
  13984. # abbreviation.
  13985. #
  13986. # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
  13987. #
  13988. # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
  13989. # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
  13990. # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
  13991. # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
  13992. # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
  13993. # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
  13994. # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
  13995. # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
  13996. # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
  13997. # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
  13998. # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
  13999. # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
  14000. # from ECMA-48's 5th edition but are listed here for reference.
  14001. #
  14002. # (X) Select Alternate Presentation Variants is used only for non-Latin
  14003. # alphabets.
  14004. #
  14005. # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
  14006. #
  14007. # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
  14008. # abbreviation.
  14009. #
  14010. # ---------------------------------------------------------------------------
  14011. # Abbreviations:
  14012. #
  14013. # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
  14014. #        X3.64 Control Sequence Introducer is the two characters "Escape ["
  14015. # Delim  a Delimiter
  14016. # x/y    identifies a character by position in the ASCII table (column/row)
  14017. # eF     editor function (see explanation)
  14018. # FE     format effector (see explanation)
  14019. #
  14020. # F      is a Final character in
  14021. #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
  14022. #             a control sequence (F from 4/0 to 7/14)
  14023. # Gs     is a graphic character appearing in strings (Gs ranges from
  14024. #        2/0 to 7/14) in the ASCII table
  14025. # Ce     is a control represented as a single bit combination in the C1 set
  14026. #        of controls in an 8-bit character set
  14027. # C0     the familiar set of 7-bit ASCII control characters
  14028. # C1     roughly, the set of control chars available only in 8-bit systems.
  14029. #        This is too complicated to explain fully here, so read Jim Fleming's
  14030. #        article in the February 1983 BYTE, especially pages 214 through 224.
  14031. # Fe     is a Final character of a 2-character Escape sequence that has an
  14032. #        equivalent representation in an 8-bit environment as a Ce-type
  14033. #        (Fe ranges from 4/0 to 5/15)
  14034. # Fs     is a Final character of a 2-character Escape sequence that is
  14035. #        standardized internationally with identical representation in 7-bit
  14036. #        and 8-bit environments and is independent of the currently
  14037. #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
  14038. # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
  14039. #        ASCII table
  14040. # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
  14041. #        table
  14042. # Pn     is a numeric parameter in a control sequence, a string of zero or
  14043. #        more characters ranging from 3/0 to 3/9 in the ASCII table
  14044. # Ps     is a variable number of selective parameters in a control sequence
  14045. #        with each selective parameter separated from the other by the code
  14046. #        3/11 (which usually represents a semicolon); Ps ranges from
  14047. #        3/0 to 3/9 and includes 3/11
  14048. #
  14049. # *      Not relevant to terminal control, listed for completeness only.
  14050. # Format Effectors versus Editor Functions
  14051. # A format effector specifies how following output is to be displayed.
  14052. # An editor function allows you to modify the display.  Informally
  14053. # format effectors may be destructive; format effectors should not be.
  14054. # For instance, a format effector that moves the "active position" (the 
  14055. # cursor or equivalent) one space to the left would be useful when you want to
  14056. # create an overstrike, a compound character made of two standard characters
  14057. # overlaid. Control-H, the Backspace character, is actually supposed to be a
  14058. # format effector, so you can do this. But many systems use it in a
  14059. # nonstandard fashion, as an editor function, deleting the character to the
  14060. # left of the cursor and moving the cursor left. When Control-H is assumed to
  14061. # be an editor function, you cannot predict whether its use will create an
  14062. # overstrike unless you also know whether the output device is in an "insert
  14063. # mode" or an "overwrite mode". When Control-H is used as a format effector,
  14064. # its effect can always be predicted. The familiar characters carriage
  14065. # return, linefeed, formfeed, etc., are defined as format effectors.
  14066. #
  14067. # NOTES ON THE DEC VT100 IMPLEMENTATION
  14068. # Control sequences implemented in the VT100 are as follows:
  14069. #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
  14070. #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
  14071. # plus several private DEC commands.
  14072. # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
  14073. #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
  14074. #      Erase from beginning of line to cursor     Esc [ 1 K
  14075. #      Erase line containing cursor               Esc [ 2 K
  14076. #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
  14077. #      Erase from beginning of screen to cursor   Esc [ 1 J
  14078. #      Erase entire screen                        Esc [ 2 J
  14079. #
  14080. # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
  14081. # Esc [ 2 J, but this is wrong; the default is 0.
  14082. # The VT100 responds to receiving the DA (Device Attributes) control
  14083. #      Esc [ c    (or Esc [ 0 c)
  14084. # by transmitting the sequence
  14085. #      Esc [ ? l ; Ps c
  14086. # where Ps is a character that describes installed options.
  14087. # The VT100's cursor location can be read with the DSR (Device Status
  14088. # Report) control
  14089. #      Esc [ 6 n
  14090. # The VT100 reports by transmitting the CPR sequence
  14091. #      Esc [ Pl ; Pc R
  14092. # where Pl is the line number and Pc is the column number (in decimal).
  14093. # The specification for the DEC VT100 is document EK-VT100-UG-003.
  14094.  
  14095. #### ANSI.SYS
  14096. # Here is a description of the color and attribute controls supported in the
  14097. # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
  14098. # terminal emulators for Intel boxes obey these.  They are a proper subset
  14099. # of the ECMA-48 escapes.
  14100. #
  14101. # 0    all attributes off
  14102. # 1    foreground bright
  14103. # 4    underscore on
  14104. # 5    blink on/background bright (not reliable with brown)
  14105. # 7    reverse-video
  14106. # 8    set blank (non-display)
  14107. # 10    set primary font
  14108. # 11    set first alternate font (on PCs, display ROM characters 1-31)
  14109. # 12    set second alternate font (on PCs, display IBM high-half chars)
  14110. #
  14111. #            Color attribute sets
  14112. # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
  14113. # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
  14114. # Bright black becomes gray.  Bright brown becomes yellow,
  14115. # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
  14116. #
  14117. # * If the 5 attribute is on and you set a background color (40-47) it is
  14118. #   supposed to enable bright background.
  14119. #
  14120. # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
  14121. #   when you try to set a "bright brown" (yellow) background with attribute
  14122. #   5 (you get a blinking yellow foreground instead).  A few displays
  14123. #   (including the System V console) support an attribute 6 that undoes this
  14124. #   braindamage (this is required by iBCS2).
  14125. #
  14126. # * Some older versions of ANSI.SYS have a bug that causes thems to require
  14127. #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
  14128. #   compatible.)
  14129.  
  14130. #### Intel Binary Compatibility Standard
  14131. #
  14132. # For comparison, here are the capabilities implied by the Intel Binary 
  14133. # Compatibility Standard for UNIX systems (Intel order number 468366-001).
  14134. # These recommendations are optional.  IBCS2 allows the leading escape to
  14135. # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
  14136. # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
  14137. # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
  14138. # terminfo entry are followed with the corresponding capability in parens:
  14139. #
  14140. #    CSI <n>k        disable (n=0) or enable (n=1) keyclick
  14141. #    CSI 2h           lock keyboard
  14142. #    CSI 2i          send screen as input
  14143. #    CSI 2l          unlock keyboard
  14144. #    CSI 6m          enable background color intensity
  14145. #    CSI <0-2>c        reserved
  14146. #    CSI <0-59>m        select graphic rendition
  14147. #    CSI <n>;<m>H    (cup)    cursor to line n and column m
  14148. #    CSI <n>;<m>f        cursor to line n and column m
  14149. #    CSI <n>@    (ich)    insert characters
  14150. #    CSI <n>A    (cuu)    cursor up n lines
  14151. #    CSI <n>B    (cud)    cursor down n lines
  14152. #    CSI <n>C    (cuu)    cursor right n characters
  14153. #    CSI <n>D    (cud)    cursor left n characters
  14154. #    CSI <n>E        cursor down n lines and in first column
  14155. #    CSI <n>F        cursor up n lines and in first column
  14156. #    CSI <n>G    (hpa)    position cursor at column n-1
  14157. #    CSI <n>J    (ed)    erase in display
  14158. #    CSI <n>K    (el)    erase in line
  14159. #    CSI <n>L    (il)    insert line(s)
  14160. #    CSI <n>P    (dch)    delete characters
  14161. #    CSI <n>S    (indn)    scroll up n lines
  14162. #    CSI <n>T    (rin)    scroll down n lines
  14163. #    CSI <n>X    (ech)    erase characters
  14164. #    CSI <n>Z    (cbt)    back up n tab stops
  14165. #    CSI <n>`        cursor to column n on line
  14166. #    CSI <n>a    (cuu)    cursor right n characters
  14167. #    CSI <n>d    (vpa)    cursor to line n
  14168. #    CSI <n>e        cursor down n lines and in first column
  14169. #    CSI <n>g    (cbt)    clear all tabs
  14170. #    CSI <n>z        make virtual terminal n active
  14171. #    CSI ?7h     (smam)    turn automargin on
  14172. #    CSI ?7l     (rmam)    turn automargin off
  14173. #    CSI s             save cursor position
  14174. #    CSI u           restore cursor position to saved value
  14175. #    CSI =<c>A        set overscan color
  14176. #    CSI =<c>F        set normal foreground color
  14177. #    CSI =<c>G        set normal background color
  14178. #    CSI =<c>H        set reverse foreground color
  14179. #    CSI =<c>I        set reverse foreground color
  14180. #    CSI =<c>J        set graphic foreground color
  14181. #    CSI =<c>K        set graphic foreground color
  14182. #    CSI =<n>g    (dispc) display n from alternate graphics character set
  14183. #    CSI =<p>;<d>B        set bell parameters
  14184. #    CSI =<s>;<e>C        set cursor parameters
  14185. #    CSI =<x>D        enable/disable intensity of background color
  14186. #    CSI =<x>E        set/clear blink vs. bold background
  14187. #    CSI 7         (sc)    (sc) save cursor position
  14188. #    CSI 8       (rc)    (rc) restore cursor position to saved value
  14189. #    CSI H        (hts)    (hts) set tab stop
  14190. #    CSI Q<n><string>    define function key string
  14191. #                (string must begin and end with delimiter char)
  14192. #    CSI c       (clear) clear screen
  14193. #
  14194. # The lack of any specification for attributes in SGR (among other things)
  14195. # makes this a wretchedly weak standard. The table above is literally 
  14196. # everything iBSC2 has to say about terminal escape sequences; there is
  14197. # no further discussion of their meaning or how to set the parameters
  14198. # in these sequences at all.
  14199. #
  14200.  
  14201. ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
  14202. #
  14203. # The historical termcap file entries were written primarily in 4.4BSD termcap.
  14204. # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
  14205. # with the extension names chosen for compatibility with the termcap names
  14206. # assigned in System V terminfo.  There are some variant extension sets out
  14207. # there.  We try to describe them here.
  14208. #
  14209. # XENIX extensions:
  14210. #
  14211. # The XENIX extensions include a set of function-key capabilities as follows:
  14212. #
  14213. #       code    XENIX variable name    terminfo name    name clashes?
  14214. #    ----    -------------------    -------------    -----------------------
  14215. #    CL    key_char_left
  14216. #    CR    key_char_right
  14217. #    CW    key_change_window            create_window
  14218. #    EN    key_end              kend
  14219. #    HM    key_home        khome
  14220. #    HP    ??
  14221. #    LD    key_delete_line      kdl1
  14222. #    LF    key_linefeed                 label_off
  14223. #    NU    key_next_unlocked_cell
  14224. #    PD    key_page_down       knp
  14225. #    PL    ??
  14226. #    PN    start_print        mc5
  14227. #    PR    ??
  14228. #    PS    stop_print        mc4
  14229. #    PU    key_page_up         kpp        pulse
  14230. #    RC    key_recalc                remove_clock
  14231. #    RF    key_toggle_ref                req_for_input
  14232. #    RT    key_return          kent
  14233. #    UP    key_up_arrow               kcuu1       parm_up_cursor
  14234. #    WL    key_word_left
  14235. #    WR    key_word_right
  14236. #
  14237. # The XENIX extensions also include the following character-set and highlight
  14238. # capabilities:
  14239. #
  14240. #    XENIX    terminfo    function
  14241. #    -----    --------    ------------------------------
  14242. #    GS    smacs        start alternate character set
  14243. #    GE    rmacs        end alternate character set
  14244. #    GG            :as:/:ae: glitch (analogous to :sg:/:ug:)
  14245. #    bo    blink        begin blink (not used in /etc/termcap)
  14246. #    be            end blink (not used in /etc/termcap)
  14247. #    bb            blink glitch  (not used in /etc/termcap)
  14248. #    it    dim        begin dim (not used in /etc/termcap)
  14249. #    ie            end dim (not used in /etc/termcap)
  14250. #    ig            dim glitch  (not used in /etc/termcap)
  14251. #
  14252. # Finally, XENIX also used the following forms-drawing capabilities:
  14253. #
  14254. #    single    double  type             ASCII approximation 
  14255. #    ------    ------    -------------    -------------------
  14256. #    GV    Gv    vertical line             |
  14257. #    GH    Gv    horizontal line       -   _
  14258. #    G1    G5    top right corner       _   |
  14259. #    G2    G6    top left corner       | 
  14260. #    G3    G7    bottom left corner         |_
  14261. #    G4    G8    bottom right corner   _|
  14262. #    GD    Gd    down-tick character        T
  14263. #    GL    Gl    left-tick character   -|
  14264. #    GR    Gr    right-tick character       |-
  14265. #    GC    Gc    middle intersection   -|-
  14266. #    GU    Gu    up-tick character          _|_
  14267. #
  14268. # These were invented to take advantage of the IBM PC ROM character set.  One
  14269. # can compose an acsc string from the single-width characters as follows
  14270. #    "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
  14271. # When translating a termcap file, ncurses tic will do this automatically.
  14272. # The double forms characters don't fit the SVr4 terminfo model.
  14273. #
  14274. # AT&T Extensions:
  14275. #
  14276. # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
  14277. # nonstandard capabilities.  Its signature is the KM capability, used to name
  14278. # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
  14279. # set.  Comments in the original, and a little cross-checking with other AT&T
  14280. # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
  14281. # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
  14282. # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
  14283. # cursor invisible), and CV=:ve: (make cursor normal).
  14284. #
  14285. # HP Extensions
  14286. #
  14287. # The HP library (as of mid-1995, their term.h file version 70.1) appears to
  14288. # have the System V capabilities up to SVr1 level.  After that, it supports
  14289. # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
  14290. # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
  14291. # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
  14292. # HP binary format incompatible with SVr4's.
  14293. #
  14294. # IBM Extensions
  14295. #
  14296. # There is a set of nonstandard terminfos used by IBM's AIX operating system.
  14297. # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
  14298. # capabilities following prtr_non with the following special capabilties:
  14299. # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
  14300. # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
  14301. # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
  14302. # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
  14303. # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
  14304. # renamed (to kcbt and kslt).  The places in the box[12] capabilities
  14305. # correspond to acsc chars, here is the mapping:
  14306. #
  14307. #    box1[0]  = ACS_ULCORNER
  14308. #    box1[1]  = ACS_HLINE    
  14309. #    box1[2]  = ACS_URCORNER
  14310. #    box1[3]  = ACS_VLINE
  14311. #    box1[4]  = ACS_LRCORNER
  14312. #    box1[5]  = ACS_LLCORNER
  14313. #    box1[6]  = ACS_TTEE
  14314. #    box1[7]  = ACS_RTEE
  14315. #    box1[8]  = ACS_BTEE
  14316. #    box1[9]  = ACS_LTEE
  14317. #    box1[10] = ACS_PLUS
  14318. #
  14319. # The box2 characters are the double-line versions of these forms graphics.
  14320. # The AIX binary terminfo format is incompatible with SVr4's.
  14321. #
  14322. # Iris console extensions:
  14323. #
  14324. # HS is half-intensity start; HE is half-intensity end
  14325. # CT is color terminal type (for Curses & rogue)
  14326. # CP is color change escape sequence
  14327. # CZ are color names (for Curses & rogue)
  14328. #
  14329. # The ncurses tic utility recognizes HS as an alias for mh <dim>.
  14330. #
  14331. # TC Extensions:
  14332. #
  14333. # There is a set of extended termcaps associated with something
  14334. # called the "Terminal Control" or TC package created by MainStream Systems,
  14335. # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
  14336. # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
  14337. # that flags color terminals.
  14338. #
  14339. ######## CHANGE HISTORY
  14340. #
  14341. # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
  14342. # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
  14343. # project.
  14344. #
  14345. # This file contains all the capability information present in John Kunze's
  14346. # last version of the termcap master file, except as noted in the change 
  14347. # comments at end of file.  Some information about very ancient obsolete
  14348. # capabilities has been moved to comments.  Some all-numeric names of older
  14349. # terminals have been retired.
  14350. #
  14351. # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
  14352. # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
  14353. # used by BSD curses.
  14354. #
  14355. # The 9.1.0 version of this file was translated from my lightly-edited copy of
  14356. # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
  14357. # the purpose.  Unless the ncurses tic implementation and the Lisp code were
  14358. # making perfectly synchronized mistakes which I then failed to catch by
  14359. # eyeball, the translation was correct and perfectly information-preserving.
  14360. #
  14361. # Major version number bumps correspond to major version changes in ncurses.
  14362. #
  14363. # Here is a log of the changes since then:
  14364. #
  14365. # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
  14366. #    * First terminfo master translated from 8.3.
  14367. # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
  14368. #    * Replaced Wyse entries with updated entries supplied by vendor.
  14369. #
  14370. # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
  14371. #    * Added contact & status info from G. Clark Brown <clark@sssi.com>.
  14372. # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
  14373. #    * Better XENIX keycap translation.  Describe TC termcaps.
  14374. #    * Contact and history info supplied by Qume.
  14375. # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
  14376. #    * Raided the Shuford FTP site for recent termcaps/terminfos.
  14377. #    * Added information on X3.64 and VT100 standard escape sequences.
  14378. # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
  14379. #    * Added a correct X11R6 xterm entry.
  14380. #    * Fixed terminfo translations of padding.
  14381. # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
  14382. #    * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
  14383. #    * Added u6/u7/u8/u9 capabilities.
  14384. #    * Added PCVT entry.
  14385. # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
  14386. #    * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
  14387. #      to use reverse-video standout so Emacs will look right.
  14388. #    * Added el1 capability to ansi.
  14389. #    * Added smacs/rmacs to ansi.sys.
  14390. #
  14391. # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
  14392. #    * New mt70 entry.
  14393. #    * Added COPYRIGHTS AND OTHER DELUSIONS.
  14394. #    * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
  14395. #      smartvid & smarterm, ampex 175 & 219 & 232,
  14396. #      env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
  14397. #      ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
  14398. #      screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
  14399. #      adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
  14400. #    * Replaced the Perkin-Elmer entries with vendor's official ones.
  14401. #    * Restored the old minimal-ansi entry, luna needs it.
  14402. #    * Fixed some incorrect ip and proportional-padding translations.
  14403. # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
  14404. #    * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
  14405. #    * Make the xterm entry 65 lines again; create xterm25 and xterm24
  14406. #      to force a particular height.
  14407. #    * Added beehive4 and reorganized other Harris entries.
  14408. # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
  14409. #    * Merged in DEC's official entries for its terminals.  The only old
  14410. #      entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
  14411. #    * Replaced the translated BBN Bitgraph entries with purpose-built
  14412. #      ones from AT&T's SVr3.
  14413. #    * Replaced the AT&T entries with AT&T's official terminfos.
  14414. #    * Added teleray 16, vc415, cops10. 
  14415. #    * Merged in many individual capabilities from SCO terminfo files.
  14416. # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
  14417. #    * Typo fixes.
  14418. #    * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
  14419. # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
  14420. #    * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
  14421. #      pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
  14422. #      simterm, citoh and variants.
  14423. #    * Replaced sol entry with sol1 and sol2.
  14424. #    * Replaced Qume QVT and Freedom-series entries with purpose-built
  14425. #      terminfo entries.
  14426. #    * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
  14427. #      and dg200 entries using caps from from SCO.
  14428. #    * Added the usual set of function-key mappings to ANSI entry.
  14429. #    * Corrected xterm's function-key capabilities.
  14430. # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
  14431. #    * Fix in xterm entry, cub and cud are not reliable under X11R6.
  14432. # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
  14433. #    * Fix in xterm entry, get the arrow keys right.
  14434. #    * Change some \0 escapes to \200.
  14435. # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
  14436. #    * Added apple (Videx card), adm1a, oadm31.
  14437. #    * Fixed malformed ampex csr.
  14438. #    * Fixed act4, cyb110; they had old-style prefix padding left in. 
  14439. #    * Changed mandatory to advisory padding in many entries.
  14440. #    * Replaced HP entries up to hpsub with purpose-built ones.
  14441. #    * Blank rmir/smir/rmdc/smdc capabilities removed.
  14442. #    * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
  14443. # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
  14444. #    * Replaced the Ann Arbor entries with SCO's, the init strings are
  14445. #      more efficient (but the entries otherwise identical).
  14446. #    * Added dg211 from Shuford archive.
  14447. #    * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
  14448. #      adm42-nl, pc52, gs6300, xerox820, uts30.
  14449. #    * Pull SCO's padding into vi200 entry.
  14450. #    * Improved capabilities for tvi4107 and other Televideo and Viewpoint
  14451. #      entries merged in from SCO's descriptions.
  14452. #    * Fixed old-style prefix padding on zen50, h1500.
  14453. #    * Moved old superbee entry to superbee-xsb, pulled in new superbee
  14454. #      entry from SCO's description.
  14455. #    * Reorganized the special entries.
  14456. #    * Added lm#0 to cbunix and virtual entries.
  14457. #
  14458. # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
  14459. #    * Restored cdc456tst.
  14460. #    * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
  14461. #    * Added megatek, beacon, microkit.
  14462. #    * Freeze for ncurses-1.9 release.
  14463. # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
  14464. #    * Added historical data for TAB.
  14465. #    * Comment fixes from David MacKenzie.
  14466. #    * Added the new BSDI pc3 entry.
  14467. # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
  14468. #    * A change in the tic -C logic now ensures that all entries in 
  14469. #      the termcap translation will fit in < 1024 bytes.
  14470. #    * Added `bobcat' and `gator' HP consoles and the Nu machine entries
  14471. #      from GNU termcap file.  This merges in all their local information.
  14472. # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
  14473. #    * Changed tic -C logic to dump all capabilities used by GNU termcap.
  14474. #    * Added warnings about entries with long translations (restoring
  14475. #      all the GNU termcaps pushes a few over the edge).
  14476. # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
  14477. #    * Yet another tic change, and a couple of entry tweaks, to reduce the
  14478. #      number of long (> 1024) termcap translations back to 0.
  14479. #
  14480. # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
  14481. #    * Added kf13-kf20 to Linux entry.
  14482. #    * Regularize Prime terminal names.
  14483. #    * Historical data on Synertek.
  14484. #    * Freeze for ncurses-1.9.1.
  14485. # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
  14486. #    * Added true xterm-color entry, renamed djm's pseudo-color entry.
  14487. #    * Eliminate whitespace in short name fields, this tanks some scripts.
  14488. #    * Name field changes to shorten some long entries.
  14489. #    * Termcap translation now automatically generates empty rmir/smir
  14490. #      when ich1/ich is present (copes with an ancient vi bug).
  14491. #    * Added `screen' entries from FSF's screen-3.6.2.
  14492. #    * Added linux-nic and xterm-nic entries.
  14493. # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
  14494. #    * Change linux entry to use smacs=\E[11m and have an explicit acsc,
  14495. #      eliminating some special-case code in ncurses.
  14496. #
  14497. # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
  14498. #    * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
  14499. #      that captures everything unique from it.
  14500. #    * Added reorder script generator.
  14501. #    * Freeze for ncurses 1.9.2 release.
  14502. # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
  14503. #    * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
  14504. #    * Added Olaf Siebert's corrections for adm12.
  14505. #    * ansi-pc-color now includes the colors and pairs caps, so that
  14506. #      entries which use it will inherit them automatically.
  14507. #    * The linux entry can now recognize the center (keypad 5) key.
  14508. #    * Removed some junk that found its way into Linux acsc.
  14509. #
  14510. # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
  14511. #    * Add 50% cut mark as a desperate hack to reduce tic's core usage.
  14512. #    * xterm doesn't try to use application keypad mode any more.
  14513. #    * Freeze for ncurses-1.9.3 release.
  14514. # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
  14515. #    * Added corrected sun entry from vendor.
  14516. #    * Added csr capability to linux entry.
  14517. #    * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
  14518. #    * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
  14519. #    * Some commented-out caps in long entries come back in, my code 
  14520. #      for computing string-table lengths had a bug in it.
  14521. #    * pcansi series modified to fit comm-program reality better.
  14522. # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
  14523. #    * BSD/OS actually ships the ibmpc3 bold entry as its console.
  14524. #    * Correct some bad aliases in the pcansi series
  14525. #    * Added entry for QNX console.
  14526. #    * Clean up duplicate long names for use with 4.4 library.
  14527. #    * Change vt100 standout to be normal reverse vide, not bright reverse;
  14528. #      this makes the Emacs status line look better.
  14529. # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
  14530. #    * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
  14531. #    * Minor surgery, mostly on name strings, to shorten termcap version.
  14532. #
  14533. # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
  14534. #    * Added dec-vt100 for use with the EWAN emulator.
  14535. #    * Added kmous to xterm for use with xterm's mouse-tracking facility.
  14536. #    * Freeze for 1.9.5 alpha release.
  14537. # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
  14538. #    * Changed xterm lines to 24, the X11R6 default.
  14539. # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
  14540. #    * Added 7 newly discovered, undocumented acsc characters to linux
  14541. #      entry (the pryz{|} characters).
  14542. #    * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
  14543. #    * Correct two typos in the xterm entries introduced in 9.9.1.
  14544. #    * I finally figured out how to translate ko capabilities.  Done.
  14545. #    * Added tvi921 entries from Tim Theisen.
  14546. #    * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
  14547. #    * Removed mystery tec entry, it was neither interesting nor useful.
  14548. #    * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
  14549. #      vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
  14550. #      trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
  14551. #      by making them relative to use capabilities
  14552. #    * Added cuf1=^L to tvi925 from deleted variant tvi925a.
  14553. #    * fixed cup in adm22 entry and parametrized strings in vt320-k3.
  14554. #    * added it#8 to entries that used to have :pt: -- tvi912, vi200,
  14555. #      ampex80,
  14556. #    * Translate all home=\E[;H capabilities to home=\E[H, they're 
  14557. #      equivalent.
  14558. #    * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
  14559. #      vt100 and ANSI-like terminals.
  14560. # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
  14561. #    * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
  14562. #      does this now, too.
  14563. #    * fviewpoint is gone, it duplicated screwpoint.
  14564. #    * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
  14565. #      ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
  14566. #      versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
  14567. #      The UW vi50 replaces the old one, which becomes vi50adm,
  14568. #    * No more embedded commas in name fields.
  14569. #
  14570. # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
  14571. #    * XENIX forms characters in fos, trs16, scoansi become acsc strings,
  14572. #    * Introduced klone+* entries for describing Intel-console behavior.
  14573. #    * Linux kbs is default-mapped to delete for some brain-dead reason.
  14574. #    * -nsl -> -ns.  The -pp syntax is obsolete.
  14575. #    * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
  14576. #    * Make xterm entry do application-keypad mode again.  I got complaints
  14577. #      that it was messing up someone's 3270 emulator.
  14578. #    * Added some longname fields in order to avoid warning messages from
  14579. #      older tic implementations.
  14580. #    * According to ctrlseqs.ms, xterm has a full vt100 graphics set.  Use
  14581. #      it! (This gives us pi, greater than, less than, and a few more.)
  14582. #    * Freeze for ncurses-1.9.6 release.
  14583. # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
  14584. #    * Add xon to a number of console entries, they're memory-mapped and
  14585. #      don't need padding.
  14586. #    * Correct the use dependencies in the ansi series.
  14587. #    * Hand-translate more XENIX capabilities.
  14588. #    * Added hpterm entry for HP's X terminal emulator.
  14589. #    * Added aixterm entries.
  14590. #    * Shortened four names so everything fits in 14 chars.  
  14591. #
  14592. # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
  14593. #    * Added ibcs2 entry and info on iBCS2 standard.
  14594. #    * Corrected hpa/vpa in linux entry.  They still fail the worm test.
  14595. #    * We can handle the HP meml/memu capability now.
  14596. #    * Added smacs to klone entries, just as documentation.
  14597. #    * Carrected ansi.sys and cit-500 entries.
  14598. #    * Added z39, vt320-k311, v220c, and avatar entries.
  14599. #    * Make pcansi use the ansi.sys invis capability.
  14600. #    * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
  14601. #      tvi925, tvi950, dt80, ncr7900i, h19.
  14602. #    * X3.64 has been withdrawn, change some references.
  14603. #    * Removed function keys from ansi-m entry.
  14604. #    * Corrected ansi.sys entry.
  14605. #    * Freeze for ncurses-1.9.7 release.
  14606. # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
  14607. #    * Added rmam/smam capabilities to many entries based on init strings.
  14608. #    * Added correct hpa/vpa to linux.
  14609. #    * Reduced several entries relative to vt52.
  14610. # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
  14611. #    * Exiled some utterly unidentifiable custom and homebrew types to the
  14612. #      UFO file; also, obsolete small-screen hardware; also, entries which
  14613. #      look flat-out incorrect, garbled, or redundant.  These include the
  14614. #      following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
  14615. #      tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
  14616. #      apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
  14617. #      fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
  14618. #      yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
  14619. #      vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
  14620. #      trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
  14621. #      att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
  14622. #      tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
  14623. #      c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
  14624. #      regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
  14625. #      vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
  14626. #      vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
  14627. #    * Corrected pcvt25h as suggested by Brian C. Grayson
  14628. #      <bgrayson@pine.ece.utexas.edu>.
  14629. # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
  14630. #    * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
  14631. #    * Added kent=\EOM to xterm entry.
  14632. #
  14633. # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
  14634. #    * Corrected gigi entry.
  14635. #    * Restored cuf/cud1 to xterm, their apparent bugginess was due to
  14636. #      bad hpa/vpa capabilities.
  14637. #    * Corrected flash strings to have a uniform delay of .2 sec.  No
  14638. #      more speed-dependent NUL-padding!
  14639. #    * terminfo capabilities in comments bracketed with <>.
  14640. # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
  14641. #    * Replaced pcvt with the 3.31 pcvt entries.
  14642. #    * Freeze for 1.9.7a.
  14643. # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
  14644. #    * Added emu entry from the X11R6 contrib tape sources.
  14645. #
  14646. # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
  14647. #    * Improved iris-ansi and sun entries.
  14648. #    * More flash string improvements.
  14649. #    * Corrected wy160 & wy160 as suggested by Robert Dunn
  14650. #    * Added dim to at386.  
  14651. #    * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
  14652. #      he's ready to start using the termcap generated from this one.
  14653. #    * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
  14654. #      ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
  14655. #    * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
  14656. #      att610, att620, att630, 
  14657. #    * Changed hazeltine name prefix from h to hz.
  14658. #    * Sent t500 to the UFI file.
  14659. #    * I think we've sucked all the juice out of BSDI's termcap file now.
  14660. #    * Freeze for ncurses 1.9.8 release
  14661. # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
  14662. #    * Unfreeze, linux kbs needed to be fixed.
  14663. #    * Tim Theisen pinned down a bug in the DMD firmware.
  14664. # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
  14665. #    * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
  14666. #      (The broken ones had been shadowed by sgr.)
  14667. # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
  14668. #    * Added documentation on ECMA-48 standard.
  14669. #    * New Amiga entry.
  14670. # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
  14671. #    * More ECMA-48 stuff
  14672. #    * Corrected typo in minix entry, added pc-minix.
  14673. #    * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
  14674. #    * Added rxvt entry.
  14675. #    * Added 1.3.x color-change capabilities to linux entry.
  14676. # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
  14677. #    * Corrected rxvt entry khome/kend.
  14678. #    * Corrected linux color change capabilities.
  14679. #    * NeXT entries from Dave Wetzel.
  14680. #    * Cleaned up if and rf file names (all in /usr/share now).
  14681. #    * Changed linux op capability to avoid screwing up a background color
  14682. #      pair set by setterm.
  14683. # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
  14684. #    * Added xterm-sun.
  14685. # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
  14686. #    * Added visa50.
  14687. #
  14688. # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
  14689. #    * Another sweep through the Shuford archive looking for new info.
  14690. #    * Added dg100 alias to dg6053 based on a comp.terminals posting.
  14691. #     * Added st52 from Per Persson.
  14692. #    * Added eterm from the GNU Emacs 19.30 distribution.
  14693. #    * Freeze for 1.9.9.
  14694. # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
  14695. #    * FreeBSD console entries from Andrew Chernov.
  14696. #    * Removed duplicate Atari st52 name.
  14697. # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
  14698. #    * xterm doesn't actually have ACS_BLOCK.
  14699. #    * Change klone+color setf/setb to simpler forms that can be
  14700. #      translated into termcap.
  14701. #    * Added xterm1.
  14702. #    * Removed mechanically-generated junk capabilities from cons* entries.
  14703. #    * Added color support to bsdos.
  14704. # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
  14705. #    * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
  14706. #    * Created ecma+color, linux can use it.  Also added ech to linux.
  14707. #    * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
  14708. #    * Add descriptions to FreeBSD console entries.  Also shorten
  14709. #      some aliases to <= 14 chars for portability.
  14710. #    * Added x68k console
  14711. #    * Added OTbs to several VT-series entries.
  14712. # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
  14713. #    * screen entry update for 3.7.1 from Michael Alan Dorfman.
  14714. # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
  14715. #    * kterm correction due to Kenji Rikitake.
  14716. #    * ACS correction in vt320-kll due to Phillippe De Muyter.
  14717. # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
  14718. #    * Sun console entry correction from J.T. Conklin.
  14719. #    * Changed all DEC VT300 and up terminals to use VT300 tab set
  14720. # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
  14721. #    * Added smul to linux entry (we never noticed it was missing 
  14722. #      because of sgr!).
  14723. #    * Added rmln to hp+labels (deduced from other HP entries).
  14724. #    * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
  14725. #      pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
  14726. #    * Corrected vt220 acsc.
  14727. #    * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
  14728. #      this corresponds to reality and helps prevent some tic warnings.
  14729. #    * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
  14730. #      hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
  14731. #      adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
  14732. #      qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
  14733. #      wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
  14734. #      adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
  14735. #      f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
  14736. #      owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
  14737. #      lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
  14738. #      dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
  14739. #      ifmr, v3220, wy100q, tandem653, ibmaed.
  14740. #    * Added DWK terminal description.
  14741. # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
  14742. #    * Many entries now have highlights inherited from adm+sgr.
  14743. #    * xterm entry now corresponds to XFree86 3.1.2E, with color.
  14744. #    * xtitle and xtitle-twm enable access to the X status line.
  14745. #    * Added linux-1.3.6 color palette caps in conventional format.
  14746. #    * Added adm1178 terminal.
  14747. #    * Move fos and apollo terminals to obsolete category.
  14748. #    * Aha! The BRL terminals file told us what the Iris extensions mean.
  14749. #    * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
  14750. #      commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
  14751. #      cit500, adm11. 
  14752. # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
  14753. #    * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
  14754. #      aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
  14755. #    * Corrected, from BRL termcap file: vi50.
  14756. #    * Better rxvt entry & corrected xterm entries from Thomas Dickey.
  14757. # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
  14758. #    * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
  14759. #      att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
  14760. #      (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
  14761. #      tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
  14762. #      apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
  14763. #    * Paired-attribute fixes to various terminals.
  14764. #    * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
  14765. #    * xterm entry corrections from Thomas Dickey.
  14766. # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
  14767. #    * Added t916 entry, translated from a termcap in SCO's support area.
  14768. #    * New qnx entry from Michael Hunter.
  14769. # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
  14770. #    * Added hpex2 from Ville Sulko.
  14771. #    * Fixed a bug that ran the qnx and pcvtXX together.
  14772. # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
  14773. #    * Added dtterm entry from Solaris CDE.
  14774. # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
  14775. #    * corrected pairs#8 typo in dtterm entry.
  14776. #    * added tvi9065.
  14777. # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
  14778. #    * updated xterm entry to cover 3.1.2E's new features.  
  14779. # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
  14780. #    * Added new minix entry
  14781. #    * Removed aliases of the form ^[0-9]* for obsolete terminals.
  14782. #    * Commented out linux-old, nobody's using pre-1.2 kernels now.
  14783. # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
  14784. #    * Added Prism entries and kt7ix.
  14785. #    * Caution notes about EWAN and tabset files.
  14786. #    * Changed /usr/lib/tabset -> /usr/share/tabset.
  14787. #    * Added acsc/rmacs/smacs to vt52.
  14788. # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
  14789. #    * Merged in Thomas Dickey's reorganization of the xterm entries;
  14790. #      added technical corrections to avoid warning messages.
  14791. # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
  14792. #    * Added rmso=\E[27m in Linux entry.
  14793. #    * Added koi8-r support for Linux console.
  14794. #    * Replace xterm entries with canonical ones from XFree86 3.2.
  14795. # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
  14796. #    * Added color_xterm from Jacob Mandelson
  14797. # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
  14798. #    * Back off the xterm entry to use r6 as a base.
  14799. # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
  14800. #    * Added dec-vt220 at Adrian Garside's request.
  14801. # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
  14802. #    * Replaced minitel-2 entry.
  14803. #    * Added MGR, ansi-nt.
  14804. #    * Minor corrections to xterm entries.
  14805. #    * Replaced EWAN telnet entry.
  14806. #    * Dropped the reorder script generator.  It was a fossil.
  14807. # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
  14808. #    * Thorsten Lockert added termcap `bs' to a lot of types, working from
  14809. #      the 4.4BSD Lite2 file.
  14810. # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
  14811. #    * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
  14812. #    * Updated iris-ansi; corrected vt102-w.
  14813. #    * Switch base xterm entry to 3.3 level.
  14814. # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
  14815. #    * Added basic4.
  14816. #    * Removed rmir/smir from tv92B.
  14817. #
  14818. # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
  14819. #    * Added Thomas Dickey's acsc string for linux.
  14820. #    * Merged in BeOS, iris-color, hds200, xterm-xf86-v40, xterm-8bit,
  14821. #      and emx entries.
  14822. #    * Replaced unixpc entry with Benjamin Sittler's corrected version.
  14823. #    * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
  14824. #      versions.
  14825. #    * Added u8/u9, removed rmul/smul from sun-il.
  14826. #    * 4.2 tic allows us to use \0 instead of \200 now.
  14827. #    * Merged in Pavel Roskin's acsc for linux-koi8
  14828. #    * Corrected some erroneous \\\s to \.
  14829. #    * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
  14830. #    * II -> ii in pcvtXX, screen, xterm.
  14831. #    * Removed \n chars following ANSI escapes in sgr & friends.
  14832. #    * Updated Wyse entries.
  14833. #    * h19 corrections from Tim Pierce.
  14834. #    * Noted that the dm2500 has both ich and smir.
  14835. #    * added pccons for the Alpha under OSF/1.
  14836. #    * Added Sony NEWS workstation entries and cit101e-rv.
  14837. #    * Reverted `amiga'; to Kent Polk's version, as I'm told
  14838. #      the Verkuil entry messes up with Amiga Telnet.
  14839. #
  14840. # The following sets edit modes for GNU EMACS
  14841. # Local Variables:
  14842. # fill-prefix:"\t"
  14843. # fill-column:75
  14844. # End:
  14845. ######## SHANTIH!  SHANTIH!  SHANTIH!
  14846.